+ Reply to Thread
Results 1 to 3 of 3

Place Cursor at Bookmark

  1. #1
    Registered User
    Join Date
    06-27-2007
    Posts
    8

    Place Cursor at Bookmark

    I have used the following coe to open a word template and selct a cell in excel that needs to be pasted to a bookmark in word.

    The code highlights the whole document but I need it to place the copied cell at the bookmark.

    Can somone give me an idea as to the code that will select the bookmark and paste the copied cell.

    The last line highlighted shows as runtime error 424, if that helps.

    Please Login or Register  to view this content.
    Last edited by Wakey1; 07-18-2007 at 04:09 PM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    If you're running this code from Excel then I can see at least on problem - there is no such thing as ActiveDocument in Excel VBA.

  3. #3
    Registered User
    Join Date
    06-27-2007
    Posts
    8
    Quote Originally Posted by Norie
    If you're running this code from Excel then I can see at least on problem - there is no such thing as ActiveDocument in Excel VBA.
    So if I delete that line any ideas how I would go from wddoc.select to positioning the cursoe at a bookmark?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1