Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Determining the nth Column

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 342
Default Determining the nth Column

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining if a value already exists in column(s) Rookie_User Excel Discussion (Misc queries) 0 October 3rd 06 05:32 PM
Determining if column(s) need to be Autofitted Chaplain Doug Excel Programming 1 May 26th 06 02:56 AM
Determining Column to Use Frank Kabel Excel Programming 1 May 17th 04 10:16 PM
Determining Column to Use chris Excel Programming 0 May 17th 04 10:16 PM
determining last column jacqui Excel Programming 4 July 24th 03 09:38 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"