Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21970

Check for values in column A and if found then column B must have value.

$
0
0
Hello everybody.

I have a problem with a spreadsheet macro/vba.

I am trying to do the following;

Column A
From A2 to A32 = Items description

Column B
From B2 to B32 = Quantity of items (value is calculate according to the quantity value) Now you can see the problem if I select an item but have no quantity ahead of it.

So, macro is to look at those cells in A2 to A32 or to all cells that contain data (text) and for each line that does contain data, the same line in column B must contain a numeric value, if not then stop macro.

I must say that my knowledge of VB is next to nothing.

All help I can get is really appreciated.

Regards,
Albert

Viewing all articles
Browse latest Browse all 21970

Trending Articles



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