View Single Post
 
Old 03-05-2012, 04:05 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit 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