View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
nickadeemus2002 nickadeemus2002 is offline
external usenet poster
 
Posts: 1
Default Sending XL data to work bookmark

Good afternoon.
I am trying to send the used range in an Excel worksheet into a wor
bookmark. Here's what I have:


Code
-------------------
Public Sub SendToWord(
-------------------


I keep getting a Runtime Error 5174 on this line of code:
Documents.Open Filename:="C:\Documents an
Settings\chrisv\Desktop\HBC2\ Report Document.doc"

Is it bad syntax, or am I not giving necessary arguments.

All help appreciate

--
Message posted from http://www.ExcelForum.com