I've spent ages searching online for something that might help my application but I can't find anything.
I'm trying to create a command button that acts as a warning indicator for its respective worksheet.
Pressing the button will display a list of warnings present in the spreadsheet.
Basically, the cells within range "ab10:ab15" may contain a warning message relevant to that particular row.
i.e. If a warning in row 12 is present, AB12 will say "warning".
The adjacent cell in "ac10:ac15" will give the actual description of the error itself.
So, if any of the rows contains an error, the command button will say "Warning report" and turn red.
Pressing the command button will display a message box listing all of the errors present in range "ac10:ac15"
If no errors are present the command button will say "ok".
Is this possible?
All the posts I've seen so far don't show the cell value within a message box.
I should also mention, that my vba skills are very limited so I'm trying to decipher all the code I've seen so far and it has put me in circles.
I'm trying to create a command button that acts as a warning indicator for its respective worksheet.
Pressing the button will display a list of warnings present in the spreadsheet.
Basically, the cells within range "ab10:ab15" may contain a warning message relevant to that particular row.
i.e. If a warning in row 12 is present, AB12 will say "warning".
The adjacent cell in "ac10:ac15" will give the actual description of the error itself.
So, if any of the rows contains an error, the command button will say "Warning report" and turn red.
Pressing the command button will display a message box listing all of the errors present in range "ac10:ac15"
If no errors are present the command button will say "ok".
Is this possible?
All the posts I've seen so far don't show the cell value within a message box.
I should also mention, that my vba skills are very limited so I'm trying to decipher all the code I've seen so far and it has put me in circles.