Hi does anyone know how to make "OR" work in excel vba code, as every time i use it, it never seems to work!:mad
Hi does anyone know how to make "OR" work in excel vba code, as every time i use it, it never seems to work!:mad
What do you wish to do with it?
may be one way.![]()
Please Login or Register to view this content.
this is part of my code, which never works correctly
![]()
Please Login or Register to view this content.
Hi jakeembx,
try it
![]()
Please Login or Register to view this content.
If you wish to use Or you must repeat the expression for every value:
Select Case is easier for this as nilem has shown.![]()
Please Login or Register to view this content.
thank you its kind of work not what i wanted. i did it to go to case select when a cell = 3. code below, could you tell me if i put the right case else etc.. in the right position...
![]()
Please Login or Register to view this content.
A little different:
![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks