Macro

Buffy

New Member
Joined
Nov 25, 2002
Messages
13
Is there a way that I can create a macro that will bring up the Save As box? ..So that the user does not have to choose File -Save As?

Cheers,
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Don't know which version of Access you are using, but you can use the SendKeys method.

SendKeys "%FA"

will achieve the result you want, in Access 97 anyhow.
 
Upvote 0
I am using Access 2000 and I have a user form which I want to put a macro on, so that when the user clicks on it, the save as box will open
 
Upvote 0
Either put the code behind a command button

Private Sub Command1_Click()
On Error Resume Next
SendKeys "%FA"
End Sub

or create a macro with SendKeys as the Action and %FA as the Keystrokes.
 
Upvote 0

Forum statistics

Threads
1,221,499
Messages
6,160,163
Members
451,628
Latest member
Bale626

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