MS Word into Access form

gstylianou

Registered User.
Local time
Today, 10:30
Joined
Dec 16, 2013
Messages
359
Dear friends hello,

Is it possible in access form to see a Word file with its Ribbon etc?

Find Attached the related photo
 

Attachments

  • Picture1.jpg
    Picture1.jpg
    58.7 KB · Views: 113
Access can launch Word and probably, with a lot of effort, could make the Word window fit into an otherwise blank space on a form. You would have to look up topics for "Using VBA to resize windows" - which will tell you to make a few references to USER32LIB.DLL or something similar.

The trick will be to identify the window handle for the Word app, which will be available from the Word App object as one of its properties, .hWnd (a 16-bit or WORD integer as opposed to LONG). Once you have the app window handle, the window sizing routines will let you control things including moving the window to the front (also sometimes called Bring to Top). The window sizing and placement routines are available using the great Google brain. I would look them up for you but I'm on a one-lung computer right now. My grandson is playing games on the system I normally use.
 
Dear friend,

First of all i would like to thank you very much for your info. Unfortunately i'm not so familiar with vba and i think this is very difficult for me. If you can prepare (when you have time of course) a sample database in order to understand on how can i do this, that's the best gift and help for me. Please note that, what i'm trying to do is to help my daughter's classroom... So, if you can help this is a school children's help.

Thanks again and i'm waiting your news
 
Hi Daniel and thank you,

But, i'm not asking the solution on how can open a Word document from access......Actually i want to open Word into access form..

Any idea how?
 
I don't think it's possible to actually use Word within an access form. You can view a Word document and easily double click on it to then open it within Word.
 

Users who are viewing this thread

Back
Top Bottom