Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 199
Default Deactivating a macro button

I have a macro in a spreadsheet which is linked to a toolbar button in the
usual way.

Is there any way please that the button can be deactivated (and if possible
greyed out) when the spreadsheet in question is not the active sheet?

TIA

V

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Deactivating a macro button

You could use sheet activate and sheet deactivate macros to
install/uninstall the button. OR, just put a non-printable shape on the
desired sheet.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Victor Delta" wrote in message
...
I have a macro in a spreadsheet which is linked to a toolbar button in the
usual way.

Is there any way please that the button can be deactivated (and if
possible greyed out) when the spreadsheet in question is not the active
sheet?

TIA

V


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 199
Default Deactivating a macro button

Thanks,

V

"Don Guillett" wrote in message
.. .
You could use sheet activate and sheet deactivate macros to
install/uninstall the button. OR, just put a non-printable shape on the
desired sheet.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Victor Delta" wrote in message
...
I have a macro in a spreadsheet which is linked to a toolbar button in the
usual way.

Is there any way please that the button can be deactivated (and if
possible greyed out) when the spreadsheet in question is not the active
sheet?

TIA

V



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
Deactivating an Excel Warning Bishop Excel Discussion (Misc queries) 1 May 29th 09 05:48 AM
Deactivating a Forms macro button based on a worksheet condition? Ace70 Excel Discussion (Misc queries) 3 June 10th 07 10:31 PM
Using Macro to sort without clicking on macro button dd Excel Discussion (Misc queries) 3 May 3rd 07 06:00 PM
use macro button to run macro in protected sheet earl Excel Discussion (Misc queries) 3 February 26th 06 10:21 PM
Deactivating an embedded chart TheRobsterUK Excel Discussion (Misc queries) 0 October 3rd 05 01:30 AM


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