LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default reseting hidden shape counter

That is a lot of lines. I just tried creating and deleting about
70,000 lines on a worksheet. I left the last 3 lines and they indeed
have names of "Line 70004" and the like. The shapes.count is only 3,
however, and it did not crash. I am using Excel 2003.
You can also change the "name" property by just setting it like this:
Dim sLine As Shape
sLine.Name = "Line " & lCount
Just don't try to set the name to the same name as another object.

 
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
Reseting to 0. GEM Excel Discussion (Misc queries) 3 April 3rd 09 12:22 AM
Did I stump everyone? Counter that ignores hidden rows TechMGR Excel Discussion (Misc queries) 2 April 5th 05 08:45 PM
Creating a counter that does not include hidden rows TechMGR Excel Discussion (Misc queries) 1 April 4th 05 10:11 PM
Reseting Shape counter Don Guillett[_4_] Excel Programming 0 August 25th 04 03:02 PM
Reseting Shape counter Tom Ogilvy Excel Programming 0 August 25th 04 02:51 PM


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