PC Review


Reply
Thread Tools Rate Thread

Cut Button Problem

 
 
=?Utf-8?B?bWFwZXJhbGlh?=
Guest
Posts: n/a
 
      11th Jul 2007
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 With Quote
 
 
 
 
Jim Rech
Guest
Posts: n/a
 
      11th Jul 2007
>>statement where all the buttons will be cut

Activesheet.Buttons.Delete

--
Jim
"maperalia" <(E-Mail Removed)> wrote in message
news:33D239B6-7E56-42F4-816B-(E-Mail Removed)...
|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 With Quote
 
=?Utf-8?B?bWFwZXJhbGlh?=
Guest
Posts: n/a
 
      11th Jul 2007
Jim;
Thanks very much

Maperalia
"Jim Rech" wrote:

> >>statement where all the buttons will be cut

>
> Activesheet.Buttons.Delete
>
> --
> Jim
> "maperalia" <(E-Mail Removed)> wrote in message
> news:33D239B6-7E56-42F4-816B-(E-Mail Removed)...
> |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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax, changing text in a button, and button click problem Tim Microsoft ASP .NET 0 23rd Jul 2008 08:57 PM
Button problem Thor Microsoft Frontpage 2 26th Apr 2008 09:52 PM
Problem with a button in ASP.NET Alejandro Microsoft ASP .NET 0 21st Aug 2006 08:27 PM
Another IE Back Button Problem/Page Loading Problem =?Utf-8?B?UGhvbmc=?= Windows XP Internet Explorer 7 12th Dec 2004 11:57 PM
Button Problem Scott Microsoft Windows 2000 3 10th Feb 2004 04:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:13 AM.