View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Charles Charles is offline
external usenet poster
 
Posts: 19
Default Using Word Bookmarks to read Text

Hi I need to collect text from a word Document and put it
in a msgbox.
I am using this code but it wont work can someone help?.

with wdApp
wdDoc.bookmarks("ProbTitle").Select
.Selection.EndKey Unit:=wdLine, Extend:=wdExtend
msgbox .Selection.Text
end with

TIA
Charles