Save PDF with Dynamic destination folder

Designernadir

New Member
Joined
Aug 4, 2019
Messages
8
Hello Everyone,

I am a new entrent to this forum and this is my first post. And I am not at all an excel expert but keen to use excel to its best possible way.
Can anyone help me ....
I have created a macro button to save my excel cell range (A1:H42), which is basically a invoice in pdf format in the folder which I have put in as a path. While saving the file the macro saves the invoice with a filename taking the cell Value from (G8).
Is it possible if I put a different folder name in (G8) everytime I create a new Invoice and when I press the macro button to save the file , then it searches for the same folder automatically in my computer and saves it there? Please help.

Regards
Designernadir
 
Re: How to save PDF with Dynamic destination folder

Hi

What do you have in cell G8? LE MARAIS101 FZE

Regards

That means that this folder does not exist:

Code:
E:\[COLOR=#ff0000][/COLOR]My Documents\Armoplast\Armoplast Customer DIR\[COLOR=#ff0000]LE MARAIS101 FZE\[/COLOR]

You must first create it.
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,215,375
Messages
6,124,578
Members
449,174
Latest member
chandan4057

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