|
Hi !
Now I am out on deep water. I know nothing about Visual Basic, yet I'm trying to build a script which enables me to move six lines down in a document.
My web page editor HomeSite 4.5.2 has the option to add vb-scripts. The script will make it easier for med when using my html template.
Now, I created a macro in MS Word. Then I created a vb-script-file from this macro. My thought was to insert this script into HomeSite. But I failed. When running the script in HomeSite I get an error message saying: "The method main was not found in the script".
Here is the script:
Sub move_six_lines_down()
Selection.MoveDown Unit:=wdLine, Count:=6
End Sub
Could someone please help me build this script?
|