VB, 30 seconds of your time, please?
This is for VB in MS Excel, should be a small and simple
routine, but .. wow what a crummy documentation package.
Search for "conditional" or "or" in Excel's VB help file and see what it tells you, shameful. Anyway, I can't figure out why this doesn't work;
If ActiveCell.Value = "xxxx" OR "xxxx1" then (blahblah)
The compilation error reports it as a type mismatch.
Devolving the statement into;
If ActiveCell.Value = "xxxx" then (blahblah)
works just fine, as does
If ActiveCell.Value = "xxxx1"
Anyway, sorry to bug yall with such a lamebrained question, but .. yeah, VB docs that are actually useful .. um .. maybe
Microsoft will sell them to me but I cant find them on the internet.
BTW, If anyone knows a good web based resource for a C language programmer / Linux afficianado using VB, I would sure appreciate a link.
|