HaiderAliKhan
New Member
- Joined
- Mar 27, 2014
- Messages
- 2
Hello All,I am a newbie in MS-Word and need to find a way to access a given number of pre-defined bookmarks in a word-2007 document and assign values to their text property.Eg.How we access ranges in MS-Excel,Thisworkbook.sheets("sheet1").range("A1:C1").value = Array("Name","Age","Gender")So, what i actually need is my range in word would be bookmark1,bookmark2 etc. that i want to assign values to.Can we do it in a single statement as in excel like...Wrddoc.range(worddoc.bookmarks("bm1").range,worddoc.bookmarks("bm2").range).value = array("variable1","variable2")