PC Review


Reply
Thread Tools Rate Thread

Determining the nth Column

 
 
markb
Guest
Posts: n/a
 
      28th Jul 2008
Howdie,

I need to copy the following range 1,31:1,42 to the current row,31:42.

I don't want to use AE1:...because I want to use the R1C1 style in the
module to protect against the insertion of columns that might fowl up the
calcs.

Any info would be great!

Thank you.
--
Markb
 
Reply With Quote
 
 
 
 
TomPl
Guest
Posts: n/a
 
      28th Jul 2008
It aint to elegant but I think this will do it:

Sub testit()

ActiveSheet.Range(Cells(1, 31), Cells(1, 42)).Copy
ActiveSheet.Cells(ActiveCell.Row, 31).PasteSpecial

End Sub

"markb" wrote:

> Howdie,
>
> I need to copy the following range 1,31:1,42 to the current row,31:42.
>
> I don't want to use AE1:...because I want to use the R1C1 style in the
> module to protect against the insertion of columns that might fowl up the
> calcs.
>
> Any info would be great!
>
> Thank you.
> --
> Markb

 
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
Determining Column Number from Column Name Jeff Microsoft VB .NET 3 24th Dec 2006 04:08 PM
Determining Sql Column name? rowe_newsgroups Microsoft VB .NET 6 19th Sep 2006 05:38 AM
Re: Determining Column to Use Frank Kabel Microsoft Excel Programming 1 17th May 2004 10:16 PM
RE: Determining Column to Use =?Utf-8?B?Y2hyaXM=?= Microsoft Excel Programming 0 17th May 2004 10:16 PM
determining last column jacqui Microsoft Excel Programming 4 24th Jul 2003 09:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:56 AM.