I’m trying to get a VBA script to open a folder in the foreground. (maybe a folder containing photos so that the user can select one to use). I’ve managed to get it to start up explorer.exe with the right path, but it always opens in the background, i.e. behind the Excel spreadsheet that contains the code. What I want is for someone to click a toobar button and expect the folder to open as the topmost item on the desktop.
Does anyone know how best to do this ?