Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default Bookmarks help

I keep getting an error for "object does not suppor this property"

I followed the code correctly by all the sites, any ideas?

Const fname = "C:\intestimate.doc"

Set x = CreateObject("Word.Application")
x.Documents.Open Filename:=fname, ReadOnly:=False
x.Visible = True


For i = 2 To 2
String0 = Worksheets("Bid").Cells(1, 2).Value & " : " &
Worksheets("Bid").Cells(i, 2)
String1 = "All Preparation Work as Stated Above"
String2 = Worksheets("Bid").Cells(1, 15).Value & " : " & "Apply " &
Worksheets("Bid").Cells(i, 15).Value & " coats interior flat latex paint of
highest quality"
String3 = Worksheets("Bid").Cells(1, 20).Value & " : " & "Apply " &
Worksheets("Bid").Cells(i, 20).Value & " coats interior flat latex paint of
highest quality"


scopeofwork = String0 & vbCr & String1 & vbCr & String2 & vbCr & String3
x.Bookmarks("ScopeofWork").Range.Text = scopeofwork

Next i
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bookmarks in Excel??? Phil Excel Worksheet Functions 4 February 13th 12 10:03 AM
Bookmarks on Sheet aposatsk Excel Discussion (Misc queries) 6 August 21st 06 05:22 PM
VBA, Bookmarks, Word and Excel... help please! [email protected] Excel Programming 2 February 13th 05 09:03 PM
hyperlinks to bookmarks in pdf files tonynguyen Excel Discussion (Misc queries) 1 January 28th 05 02:11 AM
Creating Excel bookmarks Louise Excel Worksheet Functions 1 January 21st 05 06:54 PM


All times are GMT +1. The time now is 12:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"