Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 03-05-2012, 04:05 PM
macropod's Avatar
macropod macropod is offline How do I read from a table located with a bookmark Windows 7 64bit How do I read from a table located with a bookmark Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

There was an error in the code, in that I'd copied the first instance of your bookmark name (Document_Revision _Table) without checking its validity. If you look at the bookmark name, you'll see a space in it. Boomark names can't have spaces. I've fixed the code and enhanced it slightly.

It's also worth noting that, for the code to work, you don't need to bookmark the whole table - a bookmark anywhere within it will do. I'd still be inclined to bookmark at least an end-of-row marker rather than something in one of the cells, though (especially not the cell you want to update).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I read from a table located with a bookmark Auto-numbering non co-located Requirements in a document acheo Word 1 11-24-2011 05:24 PM
Error: The file may be corrupted, located on a server that is not responding, or read naeemeh Excel 2 11-20-2011 03:38 AM
How do I read from a table located with a bookmark VBA to insert Bookmark rockwellsba Word VBA 2 05-31-2011 01:07 AM
Bookmark Classification DrDoom Word 0 06-29-2010 07:08 AM
Bookmark to another document spqr Word 3 06-26-2009 04:51 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft