Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JT JT is offline
external usenet poster
 
Posts: 234
Default 2003 vs 2007

I now have 2003 and 2007 on my machine. When I run a macro with the
following code:

Set xlApp = New Excel.Application

2007 is the version that opens. However, the results are saved in a 2007
workbook. The report gets sent to a number of users who only have 2003. How
can I open Excel in 2003 or save the results in 2003 so the users can view
them.

Thanks for the help.....
--
JT
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 149
Default 2003 vs 2007

JT,

Save the file with a ".xls" ending. (When you do a Save As, you can change
the "Save as type:" to "Excel 97-2003 Workbook (*.xls)"). However, if the
worksheet has any of the new XL2007 features in it, then you'll lose
functionality when going backwards in the application software. (Obviously,
you can do the Save As operation via code, i.e. lookup SaveAs in the VBE
Help. The help has good documentation and an example at the bottom of the
documentation).

Best,

Matthew Herbert

"JT" wrote:

I now have 2003 and 2007 on my machine. When I run a macro with the
following code:

Set xlApp = New Excel.Application

2007 is the version that opens. However, the results are saved in a 2007
workbook. The report gets sent to a number of users who only have 2003. How
can I open Excel in 2003 or save the results in 2003 so the users can view
them.

Thanks for the help.....
--
JT

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
Excel opens two windows (2007 & 2003 format): I want only 2003. Rob Excel Discussion (Misc queries) 0 March 6th 10 07:46 PM
2003 vba to hide two grouped charts, works in 2007 but not in 2003 Harold Good Excel Programming 3 December 18th 09 12:20 AM
2003-2007 xlsm-2003 loses worksheet commandbutton functionality ker_01 Excel Programming 1 May 5th 09 02:11 PM
2003--2007 recognize if i'm in 2007 or 2003 via code. Miri Excel Programming 3 October 15th 08 02:50 PM
Excel 2007, I write macros in 2003 is 2007 similar for VBA? Pros andcons please Simon[_2_] Excel Programming 3 August 5th 08 03:48 PM


All times are GMT +1. The time now is 07:55 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"