Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Help with a Message Box

$
0
0

I have a submitted form that users run a macro on to deal with formatting etc. What I would like to be able to do is when they run this macro, if the value of any of the specific boxes contain the value "No" then it will llok at the previous column (same row) and display the entry in the MSGBOX. The only issue is that there are multiple cells that could contain the value 'No' so it is not just one cell I am dealing with. Cells in question that may contain the 'No' are;

B26,B27,B28,B29,B30,B33,B34,D25,D28,D31,D34,D37,D40,F23,F25,F24,F26,F28,F27,F29,F31,F36

So if the value of B26 is No I would like the value of A26 to be in the msgbox, if the value of B27 is No then also display A27 value.

Would it make sense to declare all the values to be displayed as variables initially and then populate the box that way?

Any help would be appreciated

Toni


Toni Chaffin aka Talisa


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>