Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save As... Dialog Box

Status
Not open for further replies.

Zaph

Instructor
Jul 15, 2002
4
GB
nice simple one - using Access 2000, would like to bring up Save As... dialog box thhorugh VBA coding. Is this poss and if so what is the code? Many Thanks in advance.
 
Look at:

ben

----------------------------------------------
Ben O'Hara "Where are all the stupid people from...
...And how'd they get so dumb?"
rockband.gif
NoFX-The Decline
----------------------------------------------
 
Use the activex tool dropdown to select the microsoft common dialog control and paste this onto the appropriate form. Using a command button use the following code to open and get the filename desred
With comdlg1
.Filter = "All Files (*.*)|*.*"
.ShowOpen
End With
FileName = comdlg1.FileName

 
sorry - that code should read
With comdlg1
.Filter = "All Files (*.*)|*.*"
.ShowSave
End With
FileName = comdlg1.FileName
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top