Saving a Macro as new FN to a cloud drive

KatieB1986

New Member
Joined
Nov 13, 2018
Messages
3
I work at a small company and have been tasked with setting up a new invoice system. The company currently uses OneDrive to save files as that is what my colleagues are comfortable using and allows access from home. Basic i know, but for what we do it works well.

The invoice is currently a work in progress but currently using Excel with a database, vlookup and save as new file name set up which is great. However, with every computer the file destination changes.

My question is, how do I save a macro so that others using the Onedrive can edit and save without having to alt+F11 and change the file path each time?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
To answer this question, we have to know what the fixed values for the path are. Is there a common folder for the office that everyone uses?
It would be relatively easy to code something when the path would look something like
Code:
/General Company Folder/User Folder
If this is not the case, are you allowed to make new folders on the OneDrive? This way you can add a folder for each user in VBA. This would be easily achievable by having the user type in their name in a userbox, and using this value in the path.
 
Upvote 0

Forum statistics

Threads
1,215,020
Messages
6,122,712
Members
449,093
Latest member
Mnur

We've detected that you are using an adblocker.

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.
Go back
Back
Top