I have a command button "Calculate", i want it to be hidden until the user clicks a button called "New Facility" on a different sheet. I'm not sure how to upload my workbook so I'll give you a quick explanation of how i would like it be hidden.
Sheet 1-GeneralInfo: Fills out info
Sheet 2-SiteInformation: Fills out info----Command Button Calculate is hidden.
Sheet 3 to 4-Checklist, Stacks: Fills out info
Sheet 5-Flowchart: Clicks the "New Facility" button and it takes you back to Sheet 2 and unhides the "Calculate" command button.
Here is my code for the "Calculate" button:
Any help would be appreciated !
Sheet 1-GeneralInfo: Fills out info
Sheet 2-SiteInformation: Fills out info----Command Button Calculate is hidden.
Sheet 3 to 4-Checklist, Stacks: Fills out info
Sheet 5-Flowchart: Clicks the "New Facility" button and it takes you back to Sheet 2 and unhides the "Calculate" command button.
Here is my code for the "Calculate" button:
Code:
Sub Calculate_Click()
Dim ws As Worksheet
Set ws = Worksheets("LossesSummary")
ws.Activate
MsgBox "This Sheet does not calculate Flare Loss." & vbCrLf & "By clicking the Flare checkbox you only show that you plan on installing a Flare.", vbOKOnly, "devon Energy"
End Sub
Any help would be appreciated !