I am trying to apply conditional formatting to a report. Shading will occur for regions and certain cells pertaining to that region that need to be reviewed. Each region and corresponding cells to review are shaded the same color - a different color for each region.
The code I have below shows a couple of the regions but I am getting a Run-time error - Method Range of object Global failed. I have tried changing the line of code several ways but I haven't had any luck. And as you will see below, there are many lines written exactly the same so while it is stopping near the top, this error really occurs throughout. I realize that I can record this but I am trying to shorten the code and hopefully it would run more efficiently.
I would appreciate any guidance or ways this code could be corrected and/or better written. Also, since I still learning, I would appreciate bits of explanation so I can make notes in the code for future use/guidance.
Again, I appreciate any help provided.Please Login or Register to view this content.
Thanks.
Bookmarks