Hi,
I am not sure what part of this you are having a problem with still. I wrote this code sample and it does the following:
Minimizes the FORM, not Access
Opens Windows Explorer to the link specified.
Maybe your answer is somewhere here...
Private Sub btn0_Click()
Dim objExplorer
Dim stLink As String
stLink = "http://www.msn.com"
DoCmd.Minimize
Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.Navigate stLink
objExplorer.Fullscreen = True
objExplorer.Visible = 1
End Sub
I think you need to create an instance of Word. I think you need the object model for Word. I only have the model for IE.
P.S. Omit the Full Screen command since it opens IE and hides the taskbar, menus and close button.
P.P.S. It is not a shell script, that is only used in cmd.exe (e.g. batch files) so don't use shell command references. If this is not a VBA question, then seek the more pertinent forum.:D
mmcdonal
|