Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
VB script: move six lines down
Old 04-21-2006, 05:54 AM VB script: move six lines down
Thort's Avatar
Average Talker

Latest Blog Post:
Popular Foxglove
Posts: 19
Location: Sweden
Trades: 0
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?
__________________
Thor


Please login or register to view this content. Registration is FREE
Thort is offline
Reply With Quote
View Public Profile Visit Thort's homepage!
 
 
Register now for full access!
Reply     « Reply to VB script: move six lines down
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07704 seconds with 12 queries