Activate a Folder that is already Running

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Ruddles

Well-known Member
Joined
Aug 24, 2010
Messages
5,825
Office Version
  1. 365
Platform
  1. Windows
Paths and folders can't "run". What exactly do you mean by this?
 
Upvote 0

Jaafar Tribak

Well-known Member
Joined
Dec 5, 2002
Messages
9,245
Office Version
  1. 2016
Platform
  1. Windows
Paths and folders can't "run". What exactly do you mean by this?

I think he means an open folder which he wants to maximize.
If that is the case then you can use the AppActivate by passing the title of the folder window in explorer
Code:
AppActivate "Enter the folder window tilte here"
 
Upvote 0

keith0528

Active Member
Joined
Apr 23, 2009
Messages
250
I think he means an open folder which he wants to maximize.
If that is the case then you can use the AppActivate by passing the title of the folder window in explorer
Code:
AppActivate "Enter the folder window tilte here"


Thanks guys for replying.

Hi Jaafar, yes your assumption is correct. I just wanted to maximize a folder that was minimized in the taskbar so it would be visible onscreen. I found a piece of code that does what I want. Thought i'd share in case anyone else needs to do this:

ChDir "C:\Users\Default\Desktop"
Application.Dialogs(xlDialogOpen).Show

thanks
 
Upvote 0

Forum statistics

Threads
1,196,027
Messages
6,012,954
Members
441,740
Latest member
abaz21

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top