Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Relative references to multiple selections

Lisa,

I am unsure what you are asking exactly about the offset.
But you can shift your current selection using offset, for
example, if range "A1:C10" is currently selected you can
shift or move your current selection to "F6:H15" using the
following:

Selection.Offset(5, 5).Select

As far as recording a macro using relative references, I
guess you already know you can turn it off manually: after
you turn on the recorder, the on/off relative references
button appears on the "Stop Recording" toolbar. I don't
think there is a way to set a particular default on it.

-----Original Message-----
When I use ActiveCell.Offset(row,column).Select, I am

able
to select any cell in a position relative to the active
cell. I would like to know if it is possible to select
more than one cell at a time (or a range) that is put in

a
position relative to the active cell. Also, is it

possible
to record a macro that automatically uses relative
references instead of absolute references? Thank you.
.

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
relative references Rob Excel Discussion (Misc queries) 2 December 6th 08 08:10 PM
convert relative cell references to absolute cell references via amacro? Dave F[_2_] Excel Discussion (Misc queries) 1 May 15th 08 04:43 PM
Help with converting a block of cells with Absolute and mixed references to relative references Vulcan Excel Worksheet Functions 3 December 13th 07 11:43 PM
Relative references GARY Excel Discussion (Misc queries) 7 June 16th 06 10:08 PM
Relative references to multiple selections ksgoodwin Excel Programming 0 August 1st 03 06:18 PM


All times are GMT +1. The time now is 12:27 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"