Macro for save xls and pdf at the same time (and pdf in subfolder "pdf factuur")

gilbertwijnen

New Member
Joined
Dec 10, 2012
Messages
1
Hi,

I am a real newbie to macro`s.
What i want is this:

when i click "save as", i want to save the xls file in the folder "d:\kantoor\factuur" and at the same time
i want to create a pdf file from this xls document in the folder "d:\kantoor\factuur\pdf\" and have a option to print it.

i am using office 2010
I always start with my standard file "factuur21%.xls" that is located in the folder "d:\kantoor\factuur"
and i change the content before save it with the new filename.

Hope someone can help me??

grtz Gilbert
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,215,771
Messages
6,126,799
Members
449,337
Latest member
BBV123

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