Thread
:
VBA-if statements
View Single Post
Feb 17th, 2006, 9:34 AM
#
2
Infinite Recursion
Programming Guru
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power:
8
A difference in what? I suppose VB is implied... I don't believe there is a difference.
For instance, an if statement in VBA would be... which looks the same as VB.
(
Toggle Plain Text
)
If bottomCel.Row >= topCel.Row Then Range(topCel, bottomCel).Select End If
If bottomCel.Row >= topCel.Row Then Range(topCel, bottomCel).Select End If
__________________
http://jasonpowers.net
"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion
View Public Profile
Visit Infinite Recursion's homepage!
Find More Posts by Infinite Recursion