Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Backwards-compatibility problem with OpenText

Hi.
I'm running macros with Excel 2007 in compatibility mode. One macro uses
the Workbooks.OpenText method to open a text file and import the contents
into a new sheet. It then moves the sheet into another workbook.

I get a runtime error during the "move" operation It has to do with the
fact that OpenText generates a sheet in the new size (1M rows, 16k columns),
while the main document is still in compatibility mode (64k rows, 256
columns). Excel doesn't let you move, because of the size difference.

I can get around this by saving the workbook in the new '07 macro-enabled
format, but I'd like to have a solution that works in compatibility mode
format, for both '03 and '07 users.

Does anyone know of an elegant work-around for this?

Many thanks.
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
Conditional formatting backwards compatibility question Vladimir Shchelkunov Excel Worksheet Functions 0 March 15th 11 12:20 AM
Backwards Compatibility with Excel 2002 elfregono Excel Discussion (Misc queries) 2 September 1st 08 10:29 PM
Excel 2007 backwards compatibility - nesting functions ilia Excel Worksheet Functions 6 June 25th 07 05:58 PM
backwards compatibility for Excel 2007 Laura Excel Discussion (Misc queries) 1 February 27th 07 10:50 PM
Backwards compatibility with Excel 2003 Calendar Control Whiskey Tango Foxtrot Excel Programming 4 March 21st 06 01:18 AM


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