S
shishi
Hi,
I am trying to generate couple of word documents from excel sheet
using a vba code. I am partly successful in that. I have created a word
template with bookmarks. I am replacing book marks with appropriate
data from excel sheet. But I am not able to insert a picture from excel
to one of the bookmarks in word. The code snippet is as below.
Set ToCell = oDoc.Bookmarks("PadHook").Range
With Worksheets("DOC")
.Range("DRAWING_LOC").Copy Destination:=ToCell
End With
This is not working. What am I doing wrong. Thanks in advance for
suggestion.
Shishi
I am trying to generate couple of word documents from excel sheet
using a vba code. I am partly successful in that. I have created a word
template with bookmarks. I am replacing book marks with appropriate
data from excel sheet. But I am not able to insert a picture from excel
to one of the bookmarks in word. The code snippet is as below.
Set ToCell = oDoc.Bookmarks("PadHook").Range
With Worksheets("DOC")
.Range("DRAWING_LOC").Copy Destination:=ToCell
End With
This is not working. What am I doing wrong. Thanks in advance for
suggestion.
Shishi