How to get the path+filename of an excel workbook stored in my local OneDrive folder? (as opposed to its URL!)
I have an excel workbook that is stored locally on my PC but inside my OneDrive sync-ed folder. Whenever I try (from the immediate window and programmatically as well): ? Excel.Application.ThisWorkbook.FullName I get something like: https://d.docs.live.net/c31ceb5b47a36fa2/VBA/learnVBAmacros.xlsb whereas the real local path of my file is: C:\Users\viset\OneDrive\VBA\learnVBAmacros.xlsb How can I retrieve this latter LOCAL path to my workbook, instead of its URL on OneDrive?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.