nickadeemus2002
Programmer
Hello all. Good afternoon.
I need help with the following problem. I am truing to send the used range of a worksheet into a MS Word Bookmark. I can't get it to work. Here's what I have so far:
Public Sub SendToWord()
Dim CAP As Range
Set CAP = Sheets("InitialAssessments").UsedRange.Select
CAP.Copy
Set myWord = CreateObject("Word.Application")
With myWord
.Visible = True
.Documents.Open Filename:= _
"C:\Documents and Settings\chrisv\Desktop\HBC2\ Report Document.doc", _
ReadOnly:=True
.ActiveDocument.Bookmarks("InitialAssessments").Select
With Selection
.Paste CAP
End With
End With
End Sub
Any suggestions??
All help is appreciated
I need help with the following problem. I am truing to send the used range of a worksheet into a MS Word Bookmark. I can't get it to work. Here's what I have so far:
Public Sub SendToWord()
Dim CAP As Range
Set CAP = Sheets("InitialAssessments").UsedRange.Select
CAP.Copy
Set myWord = CreateObject("Word.Application")
With myWord
.Visible = True
.Documents.Open Filename:= _
"C:\Documents and Settings\chrisv\Desktop\HBC2\ Report Document.doc", _
ReadOnly:=True
.ActiveDocument.Bookmarks("InitialAssessments").Select
With Selection
.Paste CAP
End With
End With
End Sub
Any suggestions??
All help is appreciated