Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Viewing Word docs in an Access form

Status
Not open for further replies.

tunsarod

Programmer
Oct 31, 2001
294
GB
I want to use an unbound Access Form as a simple document viewer to display NOT EDIT a selection of Word documents.

I need to be able to display a variable selection of Word documents that may each run to several pages so I must be able to scroll the full length of the selected document.

I have tried linking to a document using an unbound OLE control but it has no scroll features.

If I could determine the pysical screen length of a document using VBA I could dynamically adjust the Window frame and OLE frame size to fit the letter and then I could use the form's scroll bars. But I have not figured out if its possible to return length of a document, though it seems there must be a way. And someone out there knows how, so come on, own up.

I could set up a table of document file names and store these with screen dimesions of each document, measured with a ruler, but really that's not much of a solution is it?

Your help is eagerly awaited.

Rod G
 
One tool that might help with what you are doing is WordViewer, a freebie from Microsoft. You can download it from Microsoft's site. (I don't remember the details, but we did that about a month ago.)

WordViewer allows the user to view but not edit a Word document. It has scrolling so the user can page up and down a document.

 
Thanks JJWild

I'll get a copy from Mr Gates right away and try it out.

TunsaRod
 
Hi.
This is a "me too" post.
I have searched MS web and can't find "wordview". The closest I've come is that it might be in some service pack (if so, it may already be on my machine. If it is I can't find out how to use it or even find it.)
If anyone can help find it please post the info...thanks.
Gus Brunston :cool: An old PICKer, using Access2000
padregus@attbi.com

 
Hi Gus,

Yep, I couldn't find it on the Microsoft site either but good old Google.com sent me directly to :


An Aussie university site where I have down loaded the WordViewer programme. While it will be useful I have in the meantime used a different approach.

I have converted my word documents to HTML and then set a cmdBtn Click event to:

Application.FollowHyperlink "..\System Notes\Using Bookmarks in Word Templates.htm", , True

Where "..\System Notes\Using Bookmarks in Word Templates.htm" is the path and filename of the document I'm interested in viewing.

Regards

Rod
 
Hey Rod!
Thanks for the info. Gus Brunston :cool: An old PICKer, using Access2000
padregus@attbi.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top