PC Review


Reply
Thread Tools Rate Thread

how can i reference every third column in a row?

 
 
garyusenet@myway.com
Guest
Posts: n/a
 
      28th Jul 2006
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.

 
Reply With Quote
 
 
 
 
garyusenet@myway.com
Guest
Posts: n/a
 
      28th Jul 2006
In essence what i'm actually asking is..

how can i copy every nth column to a string?

Thanks,
Gary.

 
Reply With Quote
 
PY & Associates
Guest
Posts: n/a
 
      28th Jul 2006
How about

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

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In essence what i'm actually asking is..
>
> how can i copy every nth column to a string?
>
> Thanks,
> Gary.
>



 
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
Excel - changing column reference based on value of other column Dharmesh Patel Microsoft Excel Misc 4 12th Oct 2009 02:41 PM
Excel - changing column reference based on value of other column Dharmesh Patel Microsoft Excel Misc 2 12th Oct 2009 01:18 PM
Column letter reference as number reference =?Utf-8?B?bWNwaGM=?= Microsoft Excel Programming 8 30th Jan 2007 03:06 PM
Row reference increment but preserve column reference =?Utf-8?B?UHdhbmRh?= Microsoft Excel Worksheet Functions 1 28th Apr 2005 01:12 PM
Macro to Reference Column Next to Current Reference dolphinv4 Microsoft Excel Misc 2 11th Apr 2005 08:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:41 AM.