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

Within Excel 2000 i used the getsaveasfilename option and
created the filename from Text and Strings. The text
contained the word "Homepages" and this does not seem to
work in 2002 but did in 2000. Any ideas ?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Excel 2002 GetSaveAsFileName

This worked ok for me in xl2002 and win98:

Option Explicit
Sub testme02()

Dim myString As String
Dim myFileName As Variant


myString = "asdf homepages qwer.xls"

myFileName = Application.GetSaveAsFilename _
(InitialFileName:="C:\my documents\exce\" & myString)

If myFileName = False Then
Exit Sub
End If

ThisWorkbook.SaveAs Filename:=myFileName

End Sub

You may want to post that snippet of code (not the workbook) that's causing
heartburn.

Kevin May wrote:

Within Excel 2000 i used the getsaveasfilename option and
created the filename from Text and Strings. The text
contained the word "Homepages" and this does not seem to
work in 2002 but did in 2000. Any ideas ?


--

Dave Peterson

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
Help with getsaveasfilename Jo Excel Discussion (Misc queries) 2 June 5th 07 12:41 AM
Outlook 2002 calendar dates exported to Excel 2002 sort incorrectl scampbell Excel Worksheet Functions 0 February 22nd 06 06:31 PM
GetSaveAsFilename not working in Excel 2003 Mayur Patel Excel Discussion (Misc queries) 8 September 11th 05 08:44 PM
GetSaveAsFilename method Donna Brooks Excel Programming 6 January 27th 04 10:37 PM
File save location with Application.GetSaveAsFilename Brad Patterson Excel Programming 1 July 21st 03 04:01 AM


All times are GMT +1. The time now is 06:06 PM.

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

About Us

"It's about Microsoft Excel"