Hello. I am able to open Internet Explorer and Outlook with the following code on a button on my form;
When I navigate away from those windows back into Access, I would like to have a button to bring them both back to top. My code for this is;
Outlook comes to top but Internet Explorer does not. How would I get Internet Explorer to come to top also? Thanks very much in advance.
Code:
Dim X As Variant
Dim Y As Variant
Dim Path1 As String
Dim Path2 As String
Path1 = "C:\Program Files\Internet Explorer\iexplore.exe"
Path2 = "C:\Program Files (x86)\Microsoft Office\OFFICE14\OUTLOOK.EXE"
X = Shell(Path1, vbNormalFocus)
Y = Shell(Path2, vbNormalFocus)
When I navigate away from those windows back into Access, I would like to have a button to bring them both back to top. My code for this is;
Code:
WinToTop "Microsoft Internet Explorer"
WinToTop "Microsoft Outlook"
Outlook comes to top but Internet Explorer does not. How would I get Internet Explorer to come to top also? Thanks very much in advance.