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 / July 2006

Tip: Looking for answers? Try searching our database.

how can i reference every third column in a row?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
garyusenet@myway.com - 28 Jul 2006 09:40 GMT
I want to copy the contents of every third column in a row.

I don't know how to reference every third column in a row without
naming each individual column, can someone tell me please?

i'm writing a macro as there are thousands of columns in this
spreadsheet.

Thanks,

Gary.
garyusenet@myway.com - 28 Jul 2006 09:54 GMT
In essence what i'm actually asking is..

how can i copy every nth column to a string?

Thanks,
Gary.
PY & Associates - 28 Jul 2006 10:05 GMT
How about

for i=1 to256 step n
activecell=activecell & cells(row,i)
next i

> In essence what i'm actually asking is..
>
> how can i copy every nth column to a string?
>
> Thanks,
> Gary.

Rate this thread:






 
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.