![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Is there a way to hide a button on a sheet unless the date in a cell is the
last day of the month? |
| Ads |
|
#2
|
|||
|
|||
|
One way (assuming it's a button from your forms toolbar):
Put this in your ThisWorkbook code module: Private Sub Workbook_Open() Worksheets("Sheet1").Buttons("Button 1").Visible = _ Day(Date + 1) = 1 End Sub If you're unfamiliar with macros, see http://www.mvps.org/dmcritchie/excel/getstarted.htm In article >, "Ed Davis" > wrote: > Is there a way to hide a button on a sheet unless the date in a cell is the > last day of the month? |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hide or unhide rows with button | Bea | Excel Discussion (Misc queries) | 15 | September 19th 07 07:03 PM |
| Want to show/hide cells depending on other cells results | Marco | Excel Discussion (Misc queries) | 0 | August 15th 06 06:21 PM |
| How can I hide a paste button that appears? | Kenzie | Excel Discussion (Misc queries) | 1 | February 3rd 06 08:04 PM |
| hide a button | Natalie | Excel Worksheet Functions | 1 | March 14th 05 02:29 PM |
| Hide button from Template | Dennis | Excel Discussion (Misc queries) | 1 | February 9th 05 11:51 PM |