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 Checkbox1.LinkedCell = ActiveCell "Why wont this work?&

Have little bit of code that dumps Activex Checkbox on page, sizes i
to fi
in nicely to the ActiveCell. Works beautifully, except I want to mak
th
linked cel the active cel as well, and I really don't want to have t
g
into design mode and do it manually for every checkbox I create. Fo
som
reason this code does not work as I expect. I'm sure theres
fundamenta
principle I am unaware of

Checkbox1.LinkedCell = ActiveCel

Also another question: When dumping the checkboxes on the page, the
ar
incremented by 1..eg Checkbox1, Checkbox2 etc. Seems to me there mus
be a
index somewhere that keeps track of these. How can I refer thes
checkboxe
by their ordinal number programmatically at runtime so that I can d
operations with the checkbox at that time, using the index or th
ordina
part of the string. I could write something to strip the ordinal par
out o
the name, but that seems like a major kluge
--------
Message sent via www.excelforums.com
 
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
ActiveCell.FormulaR1C1 = "=SUM(R[-tellerteller]C:R[-1]C)" Jack Sons Excel Discussion (Misc queries) 5 September 29th 09 09:58 PM
Standard font in a "New Microsoft Excel Worksheet.xls" wont change Prunetart Excel Discussion (Misc queries) 0 September 15th 06 10:36 AM
Macro wont update after file "read only" tweacle Excel Worksheet Functions 0 June 5th 06 10:14 AM
Referencing "current" row (not using ActiveCell.Row) Mark[_46_] Excel Programming 2 June 12th 04 02:21 PM
XP VBA: Range("A2", ActiveCell.SpecialCells(xlLastCell)).Select wessman Excel Programming 2 July 23rd 03 06:33 PM


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