Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default xlDialogSaveAs

My clients want to be able to use the Excel Popup Dialog
box from my code, that way, if they want to change the
location and document name, they can. However, I've tried
every example I've seen, the below one comes right from
Microsoft but when I run it, the Dialog box is sitting on
my Desktop, and the File Type is a CSV. ???
To create a macro (SaveDialogFile) that will start the
Save As dialog box and select a specific file name and
path, use the following Visual Basic sample code:
Sub SaveDialogFile()
Application.Dialogs(xlDialogSaveAs).Show
("<drive:\<path\<filename")
End Sub

Help??!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setting directory in xlDialogSaveAs Jonathan Crow Excel Programming 1 September 18th 03 06:06 PM
application.dialogs(xlDialogSaveAs) AND CHDIR Jules[_2_] Excel Programming 1 September 3rd 03 08:27 PM


All times are GMT +1. The time now is 09:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"