Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 17th, 2006, 9:22 AM   #1
Quagmire
Newbie
 
Quagmire's Avatar
 
Join Date: Feb 2006
Location: Ohio
Posts: 22
Rep Power: 0 Quagmire is an unknown quantity at this point
VBA-if statements

Is there a difference in using the if statements in VBA?
Quagmire is offline   Reply With Quote
Old Feb 17th, 2006, 9:34 AM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,462
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
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.

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 is offline   Reply With Quote
Old Feb 17th, 2006, 12:35 PM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Read something somewhere regarding how to ask a question. Please.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Feb 17th, 2006, 2:44 PM   #4
master007
Newbie
 
master007's Avatar
 
Join Date: Feb 2006
Posts: 8
Rep Power: 0 master007 is on a distinguished road
:eek: :banana:
master007 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:20 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC