I'm trying to write a VBA to run a macro when the following happens:
In Sheet1, a product # will be entered into cell B2. On Sheet2 I have formulas set up to read the product # and populate 5 different cells with numbers accordingly, using vlookup. I want my macro to run when the product # is entered but ONLY if all 5 cells (range=E4:I4) in Sheet2 have numbers in them,(versus the #N/A error).
How do I do this?
In Sheet1, a product # will be entered into cell B2. On Sheet2 I have formulas set up to read the product # and populate 5 different cells with numbers accordingly, using vlookup. I want my macro to run when the product # is entered but ONLY if all 5 cells (range=E4:I4) in Sheet2 have numbers in them,(versus the #N/A error).
How do I do this?