Hello guys
I need a vba code to check if some cells contain data (they must contain) before running a macro.
Hello guys
I need a vba code to check if some cells contain data (they must contain) before running a macro.
Please Login or Register to view this content.
Entia non sunt multiplicanda sine necessitate
Ok but I need to check to different cells like B3 and B5... What should I write?
This code would check in the used range of the active sheet:
Please Login or Register to view this content.
Regards,
Karan
This will easily allow you to add multiple cells
Please Login or Register to view this content.
click on the * Add Reputation if this was useful or entertaining.
Thank you all for your advices. However the following worked for me:
If IsEmpty(Range("B3").Value) Or IsEmpty(Range("B4").Value) Then
.......
Else
........
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks