How to select several words in word using ASP (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


Andraw -> How to select several words in word using ASP (1/20/2005 13:37:13)

Hi, all,

I try to goto the bookmark, select a word in the right of the bookmark, then inert some text, but not works. see below:
Set objBmkTitle = curr_document.Bookmarks("PlatformName8").range
word_app.Selection = objBmkTitle.select
word_app.Selection.MoveRight wdWord, 1, wdExtend
word_app.Selection.TypeText "text at bookmark"

no error, but not work, why??????/
Andraw




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875