ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sending XL data to work bookmark (https://www.excelbanter.com/excel-programming/299318-sending-xl-data-work-bookmark.html)

nickadeemus2002

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



All times are GMT +1. The time now is 02:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com