Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 13th, 2006, 9:39 AM   #1
revox
Newbie
 
Join Date: Feb 2006
Posts: 1
Rep Power: 0 revox is on a distinguished road
Excel

How can I change the default filename off the save as ?
Now it's copy of ....

I want to change it to a filename that I generate in my vb program.
revox is offline   Reply With Quote
Old Feb 13th, 2006, 9:56 AM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
why not just name the file instead of using the default name?

simple google search turns up quite a few hits for what you are trying to do. this is one of the links that i went to: http://www.codeguru.com/vb/gen/vb_mi...cle.php/c7767/
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Feb 16th, 2006, 4:02 PM   #3
BlackDal
Newbie
 
Join Date: Feb 2006
Posts: 12
Rep Power: 0 BlackDal is on a distinguished road
It's simple
dim ofd as new fileopendialog
with ofd
   .filename = "a.dat"
   .showdialog
end with
BlackDal is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:21 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC