Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have an statement (see below) which delete all the buttons (button 13 &
button 14). The macro is running ok when I run the macro for first time, however, when I run it for second time on the row the macro does not recognize the button 13 and button 14. I wonder if there is a way to have an statement where all the buttons will be cut on specific sheet regarless the number its has. In another words without mention button 13 & button 14. Thanks in advance. Maperalia ActiveSheet.Shapes("Button 13").Select Selection.Cut ActiveSheet.Shapes("Button 14").Select Selection.Cut Range("C3").Select |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
statement where all the buttons will be cut
Activesheet.Buttons.Delete -- Jim "maperalia" wrote in message ... |I have an statement (see below) which delete all the buttons (button 13 & | button 14). The macro is running ok when I run the macro for first time, | however, when I run it for second time on the row the macro does not | recognize the button 13 and button 14. | | I wonder if there is a way to have an statement where all the buttons will | be cut on specific sheet regarless the number its has. In another words | without mention button 13 & button 14. | | Thanks in advance. | Maperalia | | | ActiveSheet.Shapes("Button 13").Select | Selection.Cut | ActiveSheet.Shapes("Button 14").Select | Selection.Cut | Range("C3").Select | |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Jim;
Thanks very much Maperalia "Jim Rech" wrote: statement where all the buttons will be cut Activesheet.Buttons.Delete -- Jim "maperalia" wrote in message ... |I have an statement (see below) which delete all the buttons (button 13 & | button 14). The macro is running ok when I run the macro for first time, | however, when I run it for second time on the row the macro does not | recognize the button 13 and button 14. | | I wonder if there is a way to have an statement where all the buttons will | be cut on specific sheet regarless the number its has. In another words | without mention button 13 & button 14. | | Thanks in advance. | Maperalia | | | ActiveSheet.Shapes("Button 13").Select | Selection.Cut | ActiveSheet.Shapes("Button 14").Select | Selection.Cut | Range("C3").Select | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Command Button Problem | Excel Discussion (Misc queries) | |||
Problem with copying a button in VB | Excel Programming | |||
Option Button problem | Excel Programming | |||
Option button problem | Excel Programming | |||
Command Button Problem | Excel Programming |