BIGDOG1013
Technical User
Im Having 2 problems.
1) How do u open the existing document without wiping out previous changes(like the bookmarks I added). The following code seems to create a new word doc instead of using the existing document embedded.
2) How would I Paste spreadsheet range onto Page2? Bookmarks?
The following code is what I have come up with so far:
Excel.ActiveWorkbook.Worksheets(1).Shapes("OBJECT 1"
.Select
Selection.Verb Verb:=xlPrimary
Excel.Range("Range"
.Copy
Word.Documents(1).Select
Word.ActiveDocument.Bookmarks(1).Select
Word.Selection.PasteSpecial
Excel.ActiveWorkbook.Worksheets(1).Shapes(1).OLEFormat.Activate
instead of the first two lines of code
1) How do u open the existing document without wiping out previous changes(like the bookmarks I added). The following code seems to create a new word doc instead of using the existing document embedded.
2) How would I Paste spreadsheet range onto Page2? Bookmarks?
The following code is what I have come up with so far:
Excel.ActiveWorkbook.Worksheets(1).Shapes("OBJECT 1"
Selection.Verb Verb:=xlPrimary
Excel.Range("Range"
Word.Documents(1).Select
Word.ActiveDocument.Bookmarks(1).Select
Word.Selection.PasteSpecial
Excel.ActiveWorkbook.Worksheets(1).Shapes(1).OLEFormat.Activate
instead of the first two lines of code