PC Review


Reply
Thread Tools Rate Thread

Defining Loop Ranges

 
 
halper@lgblp.com
Guest
Posts: n/a
 
      24th Oct 2006
I want to set the loop range to be equal to the value of two cells.


Example:
For i = "Value of Cell A1" to "Value of Cell B1"

Next i

Thanks for your help,
Scott

 
Reply With Quote
 
 
 
 
PCLIVE
Guest
Posts: n/a
 
      24th Oct 2006
For i = range("A1").value to Range("B1").value

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I want to set the loop range to be equal to the value of two cells.
>
>
> Example:
> For i = "Value of Cell A1" to "Value of Cell B1"
>
> Next i
>
> Thanks for your help,
> Scott
>



 
Reply With Quote
 
halper@lgblp.com
Guest
Posts: n/a
 
      24th Oct 2006
Thanks.

PCLIVE (RemoveThis) wrote:
> For i = range("A1").value to Range("B1").value
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >I want to set the loop range to be equal to the value of two cells.
> >
> >
> > Example:
> > For i = "Value of Cell A1" to "Value of Cell B1"
> >
> > Next i
> >
> > Thanks for your help,
> > Scott
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Defining Ranges =?Utf-8?B?U3RldmU=?= Microsoft Excel Worksheet Functions 5 28th May 2005 07:41 AM
Re-defining Ranges in VBA =?Utf-8?B?YWVoYW4=?= Microsoft Excel Programming 3 24th Mar 2005 05:15 PM
Defining ranges Sivodsi Microsoft Excel Misc 2 29th Sep 2004 11:43 PM
Defining ranges Sivodsi Microsoft Excel Misc 1 29th Sep 2004 01:00 PM
Defining Ranges Greg Ghavalas Microsoft Excel Programming 2 9th Jul 2003 10:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:04 PM.