Hi all,
I am using the following code to export a range of cells (with HTML content) to one consolidated HTML file.
This used to work perfectly until I moved all of my data to OneDrive. Not it seems like VBA doesn't have permissions anymore to write to the same path as the .xlsm is in (which sits in OneDrive)?
I'm wondering, is there a way to tweak this code to use the filepicker instead so I can choose a non-OneDrive folder to save the HTML?
At the moment, the below code only works if the .xlsm is saved in a non-OneDrive location (e.g. Desktop).
The code is:
Hope someone can help this VBA newbie here?
Thanks!
Bookmarks