I currently have a macro that prints all visible (unhidden) sheets.
Sub Button1_Click()
Dim ws As Worksheet
For Each ws In ThisWorkBook.Worksheets
If ws.Visible=xlSheetVisible Then ws.PrintOut
Next ws
End Sub
I want to have certain required fields be colored with a certain color. If data is input into that cell it changes colors.
Then when clicking the Print button I created, I want a macro to search all Visible Sheets and if there are any Orange Cells to 1.)Not Print 2.)Display Message Box indicating a required "cell" is missing data.
If cells in any Visible Sheet aren't that color, then I want it to proceed as written above.
Any Advice?
Sub Button1_Click()
Dim ws As Worksheet
For Each ws In ThisWorkBook.Worksheets
If ws.Visible=xlSheetVisible Then ws.PrintOut
Next ws
End Sub
I want to have certain required fields be colored with a certain color. If data is input into that cell it changes colors.
Then when clicking the Print button I created, I want a macro to search all Visible Sheets and if there are any Orange Cells to 1.)Not Print 2.)Display Message Box indicating a required "cell" is missing data.
If cells in any Visible Sheet aren't that color, then I want it to proceed as written above.
Any Advice?