Backup Excel personal.xlsb to OneDrive
I am using OneDrive for Business and I want to backup my Excel personal macro file; personal.xlsb.
I have tried the following methods without success.
- Add folder to OneDrive - I cannot seem to locate this option.
- Move
personal.xlsbto My Documents and change the optionFile -> Options -> Advanced -> General -> At Startup open all files in. Excel opens the file but does not allow changes to be made to the file. - Move
personal.xlsbto My Documents and change the optionFile -> Options -> Trust Center -> Trust Center Settings -> Trusted Locations ->changeExcel default location: User StartUp. Excel does not even open the file.
Any suggestions on how to automatically sync this file to OneDrive?
21 Answer
It appears that this is possible by using the mklink statement.
mklink /j "C:\Users\{UserName}\OneDrive\Backup\XLSTART\" "C:\Users\{UserName}\AppData\Roaming\Microsoft\Excel\XLSTART\"Problem is that Excel puts a lock on personal.xlsb and will not sync it until Excel is closed. So far that is acceptable for me.
Some links for reference.