Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2013, 03:27 PM
dnc dnc is offline selecting ms word bookmarks using vba Windows 7 32bit selecting ms word bookmarks using vba Office 2007
Novice
selecting ms word bookmarks using vba
 
Join Date: May 2013
Posts: 2
dnc is on a distinguished road
Default


The highlighting is just for testing. I'm actually collecting the page position of the bookmark and the cell widths and heights. This is then used to OCR just those areas after the forms are filled out and scanned in. I have been collecting this bookmark info already but it is slow. Right now I just delete the access record and let VBA update the new record six times. If there is no solution I will just continue on, and maybe look for a solution at a later time. As a note the Word documents (field forms) are created/revised/update every few months, this is when the word documents are processed for the bookmark positions. Usually the forms are printed with their info pulled in from an Access database. They then go to the field and are filled in, signed and dated, returned to the office where they scanned and OCR'ed.
Reply With Quote
  #2  
Old 05-10-2013, 04:10 PM
macropod's Avatar
macropod macropod is offline selecting ms word bookmarks using vba Windows 7 64bit selecting ms word bookmarks using vba 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

Quote:
Originally Posted by dnc View Post
I'm actually collecting the page position of the bookmark and the cell widths and heights. This is then used to OCR just those areas after the forms are filled out and scanned in.
Huh? Why would you scan, then OCR something that is already text?? Sounds bizarre to me. Why not simply extract the required content directly?

Even so, what fumei says is relevant - you can interrogate the bookmarks directly (without selecting them) to get all you need to know about where they are, including where their cells are on the page and the cell dimensions, and all without ever looking at anything else in the document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
selecting ms word bookmarks using vba Word vs bookmarks, another instance <g> eNGiNe Word 6 12-05-2012 01:05 AM
selecting ms word bookmarks using vba VBA equivalent to selecting present word KevinJ Word VBA 2 11-05-2012 01:27 PM
selecting ms word bookmarks using vba Autocorrect in Word not selecting proper entry from list Llewella Word 4 05-12-2012 02:22 PM
Word 2007 bookmarks and protection Stevejd58 Word 0 07-31-2011 11:53 AM
word 2007 bookmarks Dawn Word 0 07-14-2009 01:00 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:25 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