Macro to save files to a desktop for more users

Chriskyed

New Member
Joined
Dec 17, 2020
Messages
2
Platform
  1. Windows
Hi
I am sitting whit a problem I can't solved right now. I am working on a sheet where we are more users.
I wanted to make a button to make the sheet to a pdf a save it on how ever use the spreadsheet desktop.
I don't seem to find a solution on the internet and therefor ask here.
Right now it only works for me as a user. but i wanted it to work for my colleges as well

hope you can help.

BR
 

Attachments

  • Capture.PNG
    Capture.PNG
    11.8 KB · Views: 14

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi & welcome to MrExcel.
Change the path to
VBA Code:
Environ("userprofile") & "\Desktop\" & Range("U2").Value
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,626
Messages
6,120,602
Members
448,974
Latest member
ChristineC

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