Save As Dialoq Box

backfromthebush

New Member
Joined
Jul 2, 2010
Messages
37
Hi all,

This is probably really really easy but I just can't work it out!

I want to put a line in my code that will bring up the "Save As" dialog box, so the user can choose where to save the file and what file name to give it. When it saves it will continue onto the next step in the code.

Any help??? :)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Here's how you figure this stuff out on you own. :wink:

In the VBE, hit the F2 key to open the Object Browser.In the Search box, type in "SaveAs".

You'll see a number of results there. Which one looks the most promising to you?

Yup - the GetSaveAsFilename method of the Application object looks pretty promising to me as well. :-D So click on that one and hit F1 and check it out in VBE help.
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,258
Members
452,901
Latest member
LisaGo

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