PDA

View Full Version : Using AND operator in vba



Rambo
02-21-2008, 06:11 AM
hi this might be a silly question but how do i use the AND operator in vba

for example im trying to say


If Network(H).GetX = 0 AND Network(H).GetY = 0 Then

but it doesnt like the AND

thanks

Bob Phillips
02-21-2008, 06:16 AM
Tere is nothing wrong per se in tat code, so what is in Network(H)? How is it all derived and so on?