Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 89
Default Select column same row by range name

I want to use a range name in a macro so I can change the column referenced
without changing the macro.

What I need to do in the macro is select a cell on the same row but within a
range named column. Say the name for the column is "bank", can someone give
me the syntax?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Select column same row by range name

Not sure, but something like:
Range("bank").Offset(0,10).select
Selects a cell in same row as "bank", but 10 columns to the right.

NickHK

"Kevryl" wrote in message
...
I want to use a range name in a macro so I can change the column

referenced
without changing the macro.

What I need to do in the macro is select a cell on the same row but within

a
range named column. Say the name for the column is "bank", can someone

give
me the syntax?

Thanks



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
select a range in a column jimbo Excel Discussion (Misc queries) 4 December 10th 09 11:46 AM
Select Range based on column name and not A1 notations T.Vidak Excel Discussion (Misc queries) 3 July 16th 08 02:02 PM
select date range in column garlocd Excel Worksheet Functions 2 July 11th 06 06:23 AM
Select a range in a column in currentregion ward376 Excel Programming 6 March 14th 06 02:25 PM
select a range base on Column A JUAN Excel Programming 3 July 27th 04 07:49 PM


All times are GMT +1. The time now is 10:19 PM.

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"