Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

file folder management

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » File & folder management

File & folder management

ResolvedVersion 2007

Tom has attended:
Excel VBA Intro Intermediate course
Excel Advanced course
Excel VBA Advanced course
Access Introduction course

File & folder management

some applications have a pop-up box that enables the user to browse the computer to save / open etc a file. How can I set that up on my applications?

RE: file & folder management

Hello Tom,

Hope you enjoyed your course with BEST Training.
Thank you for your question regarding pop ups.

Not sure I understand fully the question. To open any pop up in all applications for viewing files and folders would be just the standard Save/Open dialog, in all applications this is Control+O to Open or Control+S.

If you have an example please send it over.


I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Mark
Microsoft Office Specialist Trainer

RE: file & folder management

Thanks, Mark.

Say for example I write a 'year end' routine for an excel application whereby the user is prompted to save a 'year end' version, prior to the procedure running. I want the user to be given a message to save the file, and I want a box to pop up (driven by the code), whereby they can select where to save the file. Rather like when you attach a file to an email a box pops up, with all the drives etc with a browse option that lets the user set out the path to the file they want to attach.

Is that possible?

Regards,

Tom

RE: file & folder management

Hi Tom, thanks for your query. You need to be able the standard File management dialog boxes from within your code. This is the line of code you need:

Application.Dialogs(xlDialogSaveAs).Show

Hope this helps,

Anthony

RE: file & folder management

Many thanks, Anthony

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Change the Print button so it brings up the Print dialogue box

If you want to bring up the Print dialogue box to check your print settings when you hit the Print button, do the following:

1. Right-click on the toolbar that displays the Print button.

2. Select Customise.

3. Click on the Print button on the toolbar to select it, then hold the left mouse button down and drag the button towards the screen below. The button should come off the toolbar.

4. In the Customise dialogue box on your screen, select the Commands tab.

5. Select File from the Categories list, and then locate the Print... icon (looks like the normal Print button, but the word Print has three dots following it).

6. Click on the Print... icon to select it, then use your left mouse to drag and drop the icon onto the toolbar at the top of the screen.

7. Close the Customise dialogue box.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.