Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a button on a worksheet that has to stay always in the boundaries of the cell/range I put it on. I.e. I need lo somehow "lock" it to the cell/range. Which is to correct way to do it programattically? Thank you for your time, Nacho |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assuming you're asking about a command button from Control Toolbox or a
button from the Forms toolbar, you can prevent a user from selecting and moving it by protecting the worksheet (Tools, Protection, Protect Sheet). If you're asking about a toolbutton on a toolbar, these are intended to float above the worksheet, not to be tied down to a particular cell. -- Jim Rech Excel MVP "Nacho Nachev" wrote in message ... | Hello, | | I have a button on a worksheet that has to stay always in the boundaries of | the cell/range I put it on. I.e. I need lo somehow "lock" it to the | cell/range. | | Which is to correct way to do it programattically? | | Thank you for your time, | Nacho | | |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It's a Control Toolbox button. This will disable modifications of the whole
worksheet, which is unwanted in my case. I guess there is not other way, so I should put up with this. Thanks, Nacho "Jim Rech" wrote in message ... Assuming you're asking about a command button from Control Toolbox or a button from the Forms toolbar, you can prevent a user from selecting and moving it by protecting the worksheet (Tools, Protection, Protect Sheet). If you're asking about a toolbutton on a toolbar, these are intended to float above the worksheet, not to be tied down to a particular cell. -- Jim Rech Excel MVP "Nacho Nachev" wrote in message ... | Hello, | | I have a button on a worksheet that has to stay always in the boundaries of | the cell/range I put it on. I.e. I need lo somehow "lock" it to the | cell/range. | | Which is to correct way to do it programattically? | | Thank you for your time, | Nacho | | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ADD A BUTTON TO A CELL TO DELETE A RANGE OF CELLS? | Excel Discussion (Misc queries) | |||
dissable some button or range of cell for a prticular sheet | Excel Discussion (Misc queries) | |||
Locking range in SUM | Excel Discussion (Misc queries) | |||
Locking range for view of Excel Sheet on button click | Excel Programming | |||
Locking command button size to cell proportions? | Excel Programming |