Pop-up Message on error

  • Thread starter Thread starter TomBP
  • Start date Start date
The 'Then' needs to be on the same line like this:

If Application.Names("ProductCodeReturned").RefersToR ange <> "C"
Then

FunkySquid
 
Same as before, the vbInformation should be on the same line. It all
went a bit weird when I pasted it.
 
Back
Top