Form Toolbar Customise Button

Hibbster

Board Regular
Joined
Feb 1, 2006
Messages
95
I have a macro assigned to a button from the form toolbar menu.

I only want the button to be visible depending on a selection of criteria.

I need to put some sort of conditional formatting on the button so that it only shows when it needs to based on the criteria being met.

Is this possible or am I going about it the wrong way?

Cheers
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
The user enters a site code which runs a query and populates a sheet which info about the site. One piece of info being the closed status.

Is there anything else I can assign a macro to which will enable me to change the colour of the cell underneath. e.g. like a hyperlink

I'm using 2003 as well by the way.
 
Upvote 0
You could use the Worksheet_Calculate (or maybe even the Worksheet_Change)event procedure to change the Visible property of the button.
 
Upvote 0
I think I can go down the "follow hyperlink" route but my code activates for any hyperlink on the worksheet (I have several hyperlinks). Can I limit a "follow hyperlink" to a particular hyperlink?
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,136
Members
452,890
Latest member
Nikhil Ramesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top