Hi!
This is a great forum!! The people who post responses to questions are clearly very skilled!!
here's another one for everyone.
I need to call a word template from Access and allow the user to type whatever they feel like typing...
Some of the examples I've seen in various books smash it all together, a report & a chart & a table etc...
I think a command like
"Do/While MSWord is open, just hang out and wait until the user closes the document they just edited" would work.
(hopefully they're smart enough to save it)
With my admittedly limited VBA skills, I don't know how to construct the loop correctly, but I know the VBA code to go and get the document from Access is:
.Documents.Add "C:\directory\blahblah\Fax.dot"
.Visible = True
.Selection.GoTo wdGoToBookmark, Name:="FaxToLine"
It's at this point where the user will begin to type whatever they feel like typing...
and when that's finished, I want to make Access do this neat little trick:
With appWord
.Documents.Open "C:\directory\blahblah\FAX.doc"
.Visible = False
appWord.ActiveDocument.PrintOut
End With
So how do I tell Access to wait?
should I just tell it to count to 1 Google very slowly? haha, that's not funny
JMP
This is a great forum!! The people who post responses to questions are clearly very skilled!!
here's another one for everyone.
I need to call a word template from Access and allow the user to type whatever they feel like typing...
Some of the examples I've seen in various books smash it all together, a report & a chart & a table etc...
I think a command like
"Do/While MSWord is open, just hang out and wait until the user closes the document they just edited" would work.
(hopefully they're smart enough to save it)
With my admittedly limited VBA skills, I don't know how to construct the loop correctly, but I know the VBA code to go and get the document from Access is:
.Documents.Add "C:\directory\blahblah\Fax.dot"
.Visible = True
.Selection.GoTo wdGoToBookmark, Name:="FaxToLine"
It's at this point where the user will begin to type whatever they feel like typing...
and when that's finished, I want to make Access do this neat little trick:
With appWord
.Documents.Open "C:\directory\blahblah\FAX.doc"
.Visible = False
appWord.ActiveDocument.PrintOut
End With
So how do I tell Access to wait?
should I just tell it to count to 1 Google very slowly? haha, that's not funny
JMP