![]() |
|
|
|
#1
|
|||
|
|||
|
Hi Jrod9190,
I do upload and retrieve files from on our Sharepoint. I have added the Sharepoint site to our organisation "One Drive". To do so, go to your Sharepoint site then go to the file directory you use in Sharepoint and click on "Add shortcut to One Drive". You should see the directory in your C:/ under "One Drive". You know have a link to C:/ pointing to your Sharepoint directory. You can now do whatever you want using simple VBA macro. Ensure all staff in your organisation does the same. In VBA, you should use: C:\Users" & Environ("UserName") & _ "\OneDrive - MyOrg\MYDIRECTORY\ |
|
#2
|
|||
|
|||
|
Quote:
|
|
#3
|
|||
|
|||
|
Quote:
Use your usual Files Browser and get the path. Then in VBA, you now have a link in C to do whatever you want in shared environment. Use Environ to get username. C:\Users" & Environ("UserName") & _ "\OneDrive\MYDIRECTORY\ |
|
| Tags |
| macro, work |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with Macro to Save Word File as PDF in Specific Location | ekimisme | Word VBA | 1 | 06-07-2017 10:40 PM |
Macro: How to get this macro to save to a specific location
|
LOUF | Word VBA | 1 | 12-07-2015 06:47 PM |
| Can't save a Sharepoint document in Windows 10 | Gary Tayman | Misc | 0 | 08-15-2015 04:22 PM |
Outlook 2010 Macro Save as MSG, Choose Destination, set default filename
|
rslck | Outlook | 1 | 06-19-2014 10:16 AM |
| Office 2010 - Save to Sharepoint Site | slice16 | Office | 0 | 05-11-2010 06:43 AM |