Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problem Saving With Different Version

I have a problem with my macro concerning different excel versions. The
macro was written with excel 2003 and runs perfectly on it.
unfortunately I had to find out, that with different versions such as
excel 2000 or excel for apple, this macro causes problems and basically
is not saving the file.

Worksheets(ComboBox1.Value).Copy
Workbooks(Workbooks.Count).Activate

Application.DisplayAlerts = False

Application.Dialogs(xlDialogSaveAs).Show ("Name der
Exportdatei.xls")

Workbooks(Workbooks.Count).Close

Application.DisplayAlerts = True

do you know how to fix this problem, what is causing the problem or at
least which versions are affected by this problem?

thx a lot for your help

alex

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Problem Saving With Different Version

I do not see where there is a command for it to save the file.

" wrote:

I have a problem with my macro concerning different excel versions. The
macro was written with excel 2003 and runs perfectly on it.
unfortunately I had to find out, that with different versions such as
excel 2000 or excel for apple, this macro causes problems and basically
is not saving the file.

Worksheets(ComboBox1.Value).Copy
Workbooks(Workbooks.Count).Activate

Application.DisplayAlerts = False

Application.Dialogs(xlDialogSaveAs).Show ("Name der
Exportdatei.xls")

Workbooks(Workbooks.Count).Close

Application.DisplayAlerts = True

do you know how to fix this problem, what is causing the problem or at
least which versions are affected by this problem?

thx a lot for your help

alex


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Problem Saving With Different Version

If you are relying on the Application.Dialogs(xlDialogSaveAs).Show command to
save the file, the user will have to enter the file name in the dialog box
that this command calls. Whatever the user puts in that dialog box is what
the file will be saved as, so if the user is not aware that the file should
be a specific name, it could be being saved under almost any name.

" wrote:

I have a problem with my macro concerning different excel versions. The
macro was written with excel 2003 and runs perfectly on it.
unfortunately I had to find out, that with different versions such as
excel 2000 or excel for apple, this macro causes problems and basically
is not saving the file.

Worksheets(ComboBox1.Value).Copy
Workbooks(Workbooks.Count).Activate

Application.DisplayAlerts = False

Application.Dialogs(xlDialogSaveAs).Show ("Name der
Exportdatei.xls")

Workbooks(Workbooks.Count).Close

Application.DisplayAlerts = True

do you know how to fix this problem, what is causing the problem or at
least which versions are affected by this problem?

thx a lot for your help

alex


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problem Saving With Different Version

The user is supposed to enter a name. No automatic name needed. "Name
der Exportdatei" is just the default name.
The problem is, that it just works with some Versions, and other cause
problem. On the computer of a friend the save button of the
xldialogsaveas-box is just not responding. nothing happens.

any ideas why???


JLGWhiz schrieb:

If you are relying on the Application.Dialogs(xlDialogSaveAs).Show command to
save the file, the user will have to enter the file name in the dialog box
that this command calls. Whatever the user puts in that dialog box is what
the file will be saved as, so if the user is not aware that the file should
be a specific name, it could be being saved under almost any name.

" wrote:

I have a problem with my macro concerning different excel versions. The
macro was written with excel 2003 and runs perfectly on it.
unfortunately I had to find out, that with different versions such as
excel 2000 or excel for apple, this macro causes problems and basically
is not saving the file.

Worksheets(ComboBox1.Value).Copy
Workbooks(Workbooks.Count).Activate

Application.DisplayAlerts = False

Application.Dialogs(xlDialogSaveAs).Show ("Name der
Exportdatei.xls")

Workbooks(Workbooks.Count).Close

Application.DisplayAlerts = True

do you know how to fix this problem, what is causing the problem or at
least which versions are affected by this problem?

thx a lot for your help

alex



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
Saving a newer version of Excel using an older version (Excel 97) Alain Dekker Excel Discussion (Misc queries) 7 April 3rd 10 11:02 PM
Saving stripped down version of Excel Workbook EZ Pittsburgh Excel Discussion (Misc queries) 1 March 31st 08 05:25 PM
saving to older version of excel Jim Griffin Excel Discussion (Misc queries) 0 October 4th 06 11:35 PM
Saving Excel as latest version Nirmal Singh[_2_] Excel Programming 0 June 28th 06 04:44 PM
Saving Version Control Rob Excel Worksheet Functions 1 August 25th 05 04:48 PM


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

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"