#1
|
|||
|
|||
Open/close window in Outlook
Hi
Help....I'm using the below and it works great, however if you run it again, it opens the window again...(and again, and again etc...) Sub sub_OpenFolder() Dim str_folder As String str_folder = "C:\Test" ' folder to open Call Shell("explorer.exe " & str_folder, vbNormalFocus) End Sub Can you modify it for me so it 1) doesnt reopen if it is open already 2) activates the folder window 3) opens it not as maximised Many thanks for your help cheers Andy |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Close 'downloads' window with VBA | CatMan | Excel Programming | 6 | 12-14-2012 01:34 PM |
Word 2003 slow to open/close | HAWJOHN | Word | 1 | 04-05-2011 06:47 AM |
There are too many find public folders dialogs open. You must close them in order to | asiatic | Outlook | 1 | 01-08-2011 10:56 AM |
Lines move between close and open | jsmath22 | PowerPoint | 0 | 12-15-2010 07:44 AM |
Cannot open two separate MS word window | bunny_biceps | Word | 2 | 08-17-2010 01:51 PM |