Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JPI JPI is offline
external usenet poster
 
Posts: 4
Default Excel 2003 macros set relative cell references

Recording macros for multiple copying and paste it always goes back to the
original cell reference not the subequent cell. Can anybody help stop going
back to original absolute cell reference
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 461
Default Excel 2003 macros set relative cell references

Well it depends how you are using it. Can you explain a little bit more?

Because you can use

ActiveCell.Offset(x,y).Copy

So if you want to copy a cell, then go to the cell below it... you would say

ActiveCell.Copy
ActiveCell.Offset(1,0).PasteSpecial

Or there are numerous other ways, but I'd have to know the order of the
copying, like if you press a shortcut key, or if all the data aligned... etc.

"JPI" wrote:

Recording macros for multiple copying and paste it always goes back to the
original cell reference not the subequent cell. Can anybody help stop going
back to original absolute cell reference

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 461
Default Excel 2003 macros set relative cell references

Oh yea, another thing you can do is... when you are recording the macro,
there should be a little box with a stop button and a little thing next to
it. Click that thing next to the stop button, that will give you a code with
relative references rather then absolute.

"JPI" wrote:

Recording macros for multiple copying and paste it always goes back to the
original cell reference not the subequent cell. Can anybody help stop going
back to original absolute cell reference

  #4   Report Post  
Posted to microsoft.public.excel.misc
JPI JPI is offline
external usenet poster
 
Posts: 4
Default Excel 2003 macros set relative cell references

Thanks - this is what I thought was supposed to happen, but when I am
recording the macro there are no boxes/toolbars or similar. To stop the
recording I have to go Tools/Macros/Stop Recording - so I don't have the
option to manage the absolute/relative cell references. Can you advise how I
can fix this up. Thanks David

"AKphidelt" wrote:

Oh yea, another thing you can do is... when you are recording the macro,
there should be a little box with a stop button and a little thing next to
it. Click that thing next to the stop button, that will give you a code with
relative references rather then absolute.

"JPI" wrote:

Recording macros for multiple copying and paste it always goes back to the
original cell reference not the subequent cell. Can anybody help stop going
back to original absolute cell reference

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 461
Default Excel 2003 macros set relative cell references

hmm... im sure I could figure it out if excel was in front of me, but I'm on
a community computer at my workplace dorms and excel isn't installed on it.
But if you can explain to me what you cut and where you paste it, I can help
you out.

Research ActiveCell, Offset, End, and Cells.

Using combinations of those above, you can easily tell excel to move
anywhere you want.

"JPI" wrote:

Thanks - this is what I thought was supposed to happen, but when I am
recording the macro there are no boxes/toolbars or similar. To stop the
recording I have to go Tools/Macros/Stop Recording - so I don't have the
option to manage the absolute/relative cell references. Can you advise how I
can fix this up. Thanks David

"AKphidelt" wrote:

Oh yea, another thing you can do is... when you are recording the macro,
there should be a little box with a stop button and a little thing next to
it. Click that thing next to the stop button, that will give you a code with
relative references rather then absolute.

"JPI" wrote:

Recording macros for multiple copying and paste it always goes back to the
original cell reference not the subequent cell. Can anybody help stop going
back to original absolute cell reference



  #6   Report Post  
Posted to microsoft.public.excel.misc
JPI JPI is offline
external usenet poster
 
Posts: 4
Default Excel 2003 macros set relative cell references

Thanks - here goes for example:
Have a cell (say c3) want to copy it one cell to the right (d4) then cut
that cell (d4) and paste one to the right (e4) then repeat the process of the
result in e4 again about 10 times. Want to do this sevral times on several
rows in different sheets and different files (does that make sense?) Thanks

"AKphidelt" wrote:

hmm... im sure I could figure it out if excel was in front of me, but I'm on
a community computer at my workplace dorms and excel isn't installed on it.
But if you can explain to me what you cut and where you paste it, I can help
you out.

Research ActiveCell, Offset, End, and Cells.

Using combinations of those above, you can easily tell excel to move
anywhere you want.

"JPI" wrote:

Thanks - this is what I thought was supposed to happen, but when I am
recording the macro there are no boxes/toolbars or similar. To stop the
recording I have to go Tools/Macros/Stop Recording - so I don't have the
option to manage the absolute/relative cell references. Can you advise how I
can fix this up. Thanks David

"AKphidelt" wrote:

Oh yea, another thing you can do is... when you are recording the macro,
there should be a little box with a stop button and a little thing next to
it. Click that thing next to the stop button, that will give you a code with
relative references rather then absolute.

"JPI" wrote:

Recording macros for multiple copying and paste it always goes back to the
original cell reference not the subequent cell. Can anybody help stop going
back to original absolute cell reference

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel 2003 macros set relative cell references

JPI

ToolsCustomizeToolbars.

Select the Stop Recording Toolbar.

Start Recording a macro then hit the Stop button.

DO NOT hit the "x" to stop or you will lose the Toolbar again.


Gord Dibben MS Excel MVP


On Sun, 20 May 2007 19:22:01 -0700, JPI wrote:

Thanks - this is what I thought was supposed to happen, but when I am
recording the macro there are no boxes/toolbars or similar. To stop the
recording I have to go Tools/Macros/Stop Recording - so I don't have the
option to manage the absolute/relative cell references. Can you advise how I
can fix this up. Thanks David

"AKphidelt" wrote:

Oh yea, another thing you can do is... when you are recording the macro,
there should be a little box with a stop button and a little thing next to
it. Click that thing next to the stop button, that will give you a code with
relative references rather then absolute.

"JPI" wrote:

Recording macros for multiple copying and paste it always goes back to the
original cell reference not the subequent cell. Can anybody help stop going
back to original absolute cell reference


  #8   Report Post  
Posted to microsoft.public.excel.misc
JPI JPI is offline
external usenet poster
 
Posts: 4
Default Excel 2003 macros set relative cell references

Dear Gord - thanks for that David

"Gord Dibben" wrote:

JPI

ToolsCustomizeToolbars.

Select the Stop Recording Toolbar.

Start Recording a macro then hit the Stop button.

DO NOT hit the "x" to stop or you will lose the Toolbar again.


Gord Dibben MS Excel MVP


On Sun, 20 May 2007 19:22:01 -0700, JPI wrote:

Thanks - this is what I thought was supposed to happen, but when I am
recording the macro there are no boxes/toolbars or similar. To stop the
recording I have to go Tools/Macros/Stop Recording - so I don't have the
option to manage the absolute/relative cell references. Can you advise how I
can fix this up. Thanks David

"AKphidelt" wrote:

Oh yea, another thing you can do is... when you are recording the macro,
there should be a little box with a stop button and a little thing next to
it. Click that thing next to the stop button, that will give you a code with
relative references rather then absolute.

"JPI" wrote:

Recording macros for multiple copying and paste it always goes back to the
original cell reference not the subequent cell. Can anybody help stop going
back to original absolute cell reference



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 (vs. Absolute) Cell References with macros Claude S. Weiller Excel Discussion (Misc queries) 1 August 3rd 06 08:56 PM
How to copy an array without changing relative cell references? Dmitry Excel Worksheet Functions 0 June 19th 06 03:08 PM
F4 key does not toggle relative/absolute cell references. java Excel Worksheet Functions 2 July 12th 05 09:53 PM
Relative Cell References within VBA code Jandy Excel Discussion (Misc queries) 2 April 21st 05 02:17 AM
Transpose-relative cell references would be useful. carlmanaster Excel Worksheet Functions 7 March 15th 05 01:04 AM


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