Adding Help File

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have written a small Access application and a Help file in MS Word to
accomany it.
I would like to include the Help file within the application - any bright
ideas?

I don't want link to the Word document but if I try and copy the text into,
say, a Form label or Text box then I am limited by characters. If I copy the
text into a table in ,say, a memo field to display on a form, then I lose all
the pretty formatting.
 
Create a macro called Autokeys, In it write
In the Macro name {F1}
In the action select "Runcode"
In the function Name write a new function you will create like OpenWord()

in a module create the function
Function OpenWord()
Dim objWord As Word.Application
Dim objDoc As Word.Document
Dim DocPath As String

DocPath = "c:\DocName.doc"

Set objWord = New Word.Application
Set objDoc = objWord.Documents.Open(DocPath)

objDoc.Activate
objWord.Visible = True
End function

So when the user will press the F1 key, the application will activate the
word help file
 
In addition to what Ofer had to offer, you could get even fancier by using
the HelpcontextID of your controls to go to specifc places in your Word
document:

= forms!ztester!combo23.helpcontextid
Will return a value you have entered, then you could put some VBA code in
your Word Doc that would go to the correct page.
 
Back
Top