#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Excel 2007

When I test ran xl2007 some time ago, I thought that I could live with the
changes & get used to looking in new places to find common tools.
I tried demonstrating my 'in developement' VBA code using Excel 2007 to a
colleague & was thorourghly embarrassed because it failed so miserably.
Among other things, the code duplicates a hidden Sheet: xl2007 copies the
incorrect sheet & destroys the data. It took me a while to understand what
was actually happening. I was shocked when it finally dawned on me that 'any
company' would actually release a product that has this 'data destroyer'
built in. There is no workaround for lost data!

When will xl2007 be out of beta test for real and no longer depend on
customer complaints for debugging?
I hope by Fall 2007.

Dan



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Excel 2007

Well, I am happy to admit that this "data destroyer " may be my own
progamming mistake.
The code was interpreting worksheet.count incorrectly. I will retest
tomorrow when I again have access to xl2007.

Dan


"DanR" wrote in message
...
When I test ran xl2007 some time ago, I thought that I could live with the
changes & get used to looking in new places to find common tools.
I tried demonstrating my 'in developement' VBA code using Excel 2007 to a
colleague & was thorourghly embarrassed because it failed so miserably.
Among other things, the code duplicates a hidden Sheet: xl2007 copies the
incorrect sheet & destroys the data. It took me a while to understand what
was actually happening. I was shocked when it finally dawned on me that
'any company' would actually release a product that has this 'data
destroyer' built in. There is no workaround for lost data!

When will xl2007 be out of beta test for real and no longer depend on
customer complaints for debugging?
I hope by Fall 2007.

Dan





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Excel 2007

Dan,

Be aware of the distinction between Sheets.Count and Worksheets.Count. If
you have only worksheets in the workbook, the values are the same. However,
if you have Chart Sheets (or other types of sheets), the values will be
different. Sheets.Count returns the number of sheets of all types, whereas
Worksheets.Count returns the count of only worksheets. Also, both
Sheets.Count and Worksheets.Count return the number of sheets both hidden
and visible. If you have hidden sheets, the Count may not be what you
expect.

You will likely run into problems if you mix these together, as in something
like

Sheets(Worksheets.Count).Delete

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email on the web site)

"DanR" wrote in message
...
Well, I am happy to admit that this "data destroyer " may be my own
progamming mistake.
The code was interpreting worksheet.count incorrectly. I will retest
tomorrow when I again have access to xl2007.

Dan


"DanR" wrote in message
...
When I test ran xl2007 some time ago, I thought that I could live with
the changes & get used to looking in new places to find common tools.
I tried demonstrating my 'in developement' VBA code using Excel 2007 to a
colleague & was thorourghly embarrassed because it failed so miserably.
Among other things, the code duplicates a hidden Sheet: xl2007 copies the
incorrect sheet & destroys the data. It took me a while to understand
what was actually happening. I was shocked when it finally dawned on me
that 'any company' would actually release a product that has this 'data
destroyer' built in. There is no workaround for lost data!

When will xl2007 be out of beta test for real and no longer depend on
customer complaints for debugging?
I hope by Fall 2007.

Dan






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
Copying Excel 2007 chart to Word 2007 - only half of it shows NonTechie Excel Discussion (Misc queries) 2 November 3rd 09 09:26 PM
Excel 2007 files not showing on screen when opened in Excel 2007 [email protected] Setting up and Configuration of Excel 1 January 8th 09 05:45 PM
Conflict in excel 2007 with Outlook 2007 attachment excel narnimar Excel Discussion (Misc queries) 0 December 17th 08 02:02 PM
Labels: Unable to import all records Excel 2007 to Word 2007 Mailm skelly Excel Discussion (Misc queries) 1 October 29th 08 11:22 PM
Excel 2007 Macro Help (Excel 2003 not working in 2007) Pman Excel Discussion (Misc queries) 4 May 29th 08 06:29 PM


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