I'm not sure whether I'm having a mental blank or not. Is there a simple formula that lists the current excel file you're in? I know that you can use INFO("directory") to get the path name, but what about the file name?
Thanks Dave, I was hoping that Excel would already have a built in way of doing it, but it appears not. I'll have to use the User Defined Function instead.
Nice website btw. I just discovered I've been using dynamic ranges without even knowing that I've been doing it. Ah OFFSET - hell to learn but mighty powerful once you understand it!
OK, now have the path & file name working ok via the User Defined Function, however the **** thing is not updating even when pressing recalc (F9). How do you get it to automatically recalculate the function when opening the file?
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.