LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel 2007 save compatibility issue

Hi All,

I've been running into saving the excel workbook in compatibilty mode
issues with automation.

Steps a

Open Excel 2007:
Now i go to the office button on the top left and set the options to
save in office 97-2003 format.

Now you cannot add more than 256 columns of data.

close the Excel.


Automation code with me something like this:

CLSID clsid;
HRESULT h = CLSIDFromProgID(L"Excel.Sheet", &clsid);

// some more stuff here

h = ::OleCreate(clsid, IID_IOleObject, OLERENDER_NONE, NULL, site,
context-storage, (void **) &oleObject);

// some more stuff here

h = ::OleRun(oleObject);

oleObject-DoVerb(OLEIVERB_OPEN, NULL, context-site, 0, NULL, NULL);


This will bring up the Excel 2007 and set it running.


Now if you check the save options it will still show the saving format
at .doc but will gladly allow you to add more than 256 columns of
data.
And now if you save it will not save in .doc format.


Please let me know if I'm missing something here.


Thanks in advance,
Sarang Baheti.

 
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 2007 compatibility issue - speed between cells Simon Whale[_2_] Excel Discussion (Misc queries) 2 November 11th 09 12:06 PM
EXCEL 2007 COMPATIBILITY MODE ISSUE Gemi Setting up and Configuration of Excel 1 September 29th 08 03:01 AM
excel 2007 compatibility issue joromajr Excel Discussion (Misc queries) 1 July 20th 08 09:10 AM
Excel 2007 Color Backward-Compatibility Issue JCooper Excel Discussion (Misc queries) 7 March 8th 08 07:59 PM
Office 2007 Compatibility Pack issue? bradmo Excel Worksheet Functions 1 February 25th 08 03:01 PM


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