Morning all,
I am using code in my sheet to hide rows:
and much the same to unhide (the code is included in the example workbook).Please Login or Register to view this content.
For some reason on this worksheet with this code I cannot figure out a way to hide all the rows where row "J/K" is empty. I have tried adding in another column (I) where I put an if statement produce either a "1" or "0" and then change the code to act on this column instead but I still cannot get all the rows to hide.
The reason I am now seeing this problem (I think) is because I want to be able to enter values in column "B" but not have a price for them, and thus those rows to be hidden. In the example workbook as is rows 68 and 81 will not hide with the macros I currently have.
I am fairly new to VBA and actually got this code from good old google. So any help would be greatly appreciated.
Thankyou!!
Bookmarks