bluewaterfree
New Member
- Joined
- Dec 6, 2020
- Messages
- 20
- Office Version
- 2019
- Platform
- Windows
My situation...
Excel file: Budget.xlsb
I've written tons of macros in this file. Life was good.
Then, I tried get clever and put the file on OneDrive so that I could use the file either from my home computer or my laptop when I was on travel.
That was a dramatic failure and before I learned that OneDrive doesn't support macro path names well at all.
So now, I'm trying to go back to my original configuration... but... here's the problem...
All my macros show the OneDrive Path in them now... even though the file itself is now stored locally on my home computer. How do I "force" the macros to have the path name of the file itself... or said more simply be stored in the file Budget.xlsb locally on my home laptop.
Examples of things I've tried... I delete the Customized Ribbon button calling a macro... and then from the dropdown list in Customized Ribbon... add the macro from the macro list... and it still uses the OneDrive path name.... I deleted the file from OneDrive... logged out of OneDrive... yet it still points at the OneDrive pathname.
I went to Developer/Visual Basic.... All the modules are under the VBAProject (Budget.xlsb)... I don't see anything there on path name.
THANKS IN ADVANCE...
Bonus question...
Let say that I store the file in C:User\Mark\Document.... and set all of the macros with that path name.
Then I used Google Drive and transferred the file to the exact same path name on my laptop.... would that work?
Again thanks for sharing your knowledge.
Excel file: Budget.xlsb
I've written tons of macros in this file. Life was good.
Then, I tried get clever and put the file on OneDrive so that I could use the file either from my home computer or my laptop when I was on travel.
That was a dramatic failure and before I learned that OneDrive doesn't support macro path names well at all.
So now, I'm trying to go back to my original configuration... but... here's the problem...
All my macros show the OneDrive Path in them now... even though the file itself is now stored locally on my home computer. How do I "force" the macros to have the path name of the file itself... or said more simply be stored in the file Budget.xlsb locally on my home laptop.
Examples of things I've tried... I delete the Customized Ribbon button calling a macro... and then from the dropdown list in Customized Ribbon... add the macro from the macro list... and it still uses the OneDrive path name.... I deleted the file from OneDrive... logged out of OneDrive... yet it still points at the OneDrive pathname.
I went to Developer/Visual Basic.... All the modules are under the VBAProject (Budget.xlsb)... I don't see anything there on path name.
THANKS IN ADVANCE...
Bonus question...
Let say that I store the file in C:User\Mark\Document.... and set all of the macros with that path name.
Then I used Google Drive and transferred the file to the exact same path name on my laptop.... would that work?
Again thanks for sharing your knowledge.
Last edited: