Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / May 2008

Tip: Looking for answers? Try searching our database.

Conditional Array?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gjfeng@yahoo.com - 26 May 2008 09:35 GMT
cusID = Worksheets("db").Cells(intRow, 5).Value
       cus = Worksheets("db").Cells(intRow, 4).Value
       qty = Worksheets("db").Cells(intRow, 8).Value
       Worksheets("nvT").Range("a" & Columns.Count).End(xlUp)
(2).Resize(, 3).Value = _
       Array(cusID, cus, qty)

is it possible to use the value of qty. It'll only put in the value of
qty every even columns? (4,6,8,10,12.....)
Bob Phillips - 26 May 2008 10:12 GMT
I think I get what you are trying to do, but not totally sure.

Is cusID supposed to be a variable array name, or the array values?

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>        cusID = Worksheets("db").Cells(intRow, 5).Value
>        cus = Worksheets("db").Cells(intRow, 4).Value
[quoted text clipped - 5 lines]
> is it possible to use the value of qty. It'll only put in the value of
> qty every even columns? (4,6,8,10,12.....)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.