Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default What is the new object name after copying & inserting line?

I have some code that copies a line and inserts a new one. It also
(correctly) copies a checkbox and add a new one, but the linked cell
is now incorrect.

Question: How do I find the name of the new checkbox in order to be
able to change the linked cell?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default What is the new object name after copying & inserting line?

Use the count of checkboxes as the new checkbox index.
Something like: .Checkboxes(.Checkboxes.Count).LinkedCell
(for illustration purposes only, not actual code)
--
Jim Cone
Portland, Oregon USA
http://www.mediafire.com/PrimitiveSoftware
(free and commercial excel programs)

..
..

"Khuli"
wrote in message
...
I have some code that copies a line and inserts a new one. It also
(correctly) copies a checkbox and add a new one, but the linked cell
is now incorrect.

Question: How do I find the name of the new checkbox in order to be
able to change the linked cell?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default What is the new object name after copying & inserting line?


Thanks Jim - that worked perfectly!


On 19 Oct, 13:01, "Jim Cone" wrote:
Use the count of checkboxes as the new checkbox index.
Something like: *.Checkboxes(.Checkboxes.Count).LinkedCell
(for illustration purposes only, not actual code)
--
Jim Cone
Portland, Oregon *USAhttp://www.mediafire.com/PrimitiveSoftware
(free and commercial excel programs)

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
inserting object jjuan New Users to Excel 3 August 17th 06 02:06 PM
inserting an object shaun hellyer Excel Discussion (Misc queries) 0 October 16th 05 12:36 PM
Inserting Excel OLE Object raven Excel Programming 2 September 15th 05 01:56 PM
Inserting object Greg B Excel Discussion (Misc queries) 1 September 8th 05 05:34 AM
Inserting an Object in Excel L. Keitelman Excel Programming 0 April 29th 04 08:12 PM


All times are GMT +1. The time now is 06:57 AM.

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"