![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: Nanaimo, BC
Posts: 49
|
what is the syntax for the VBA and operator... for example
If a=b AND c=d Then what is the AND syntax??? Thanks, Kyle |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
Quote:
What you wrote is exactly what you would do. If a = b And c=d then do something or, with an If...Then...Else construct If a = b And c=d then do something else do something else end if Regards, Jay |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Location: Nanaimo, BC
Posts: 49
|
Really??? Hmmmm something else must've been wrong!!! Thanks!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|