Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do I create a macro with relative address?

How do I create a macro with relative reference in Excel 2003?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default How do I create a macro with relative address?

All sorts of functions, OFFSET, RESIZE etc.

What exactly are you trying to do?

--
HTH

Bob Phillips

"Demokritos" wrote in message
...
How do I create a macro with relative reference in Excel 2003?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do I create a macro with relative address?

Thank you for your answer.
I'm trying to create by using the macro recorder a very simple macro, which
moves 2 lines down every time I press the short key.

In the Excel version for Windows 95 there had been an option for relative
references using the recorder (Tools/Create Macro/Use Relative References).
In Excel 2003 I cannot find this option, so that the recorder creates only
absolute references.

"Bob Phillips" wrote:

All sorts of functions, OFFSET, RESIZE etc.

What exactly are you trying to do?

--
HTH

Bob Phillips

"Demokritos" wrote in message
...
How do I create a macro with relative reference in Excel 2003?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default How do I create a macro with relative address?

Sorry, I can't tell you how to overcome that change, but why don't you post
the code and we can help with that.

--
HTH

Bob Phillips

"Demokritos" wrote in message
...
Thank you for your answer.
I'm trying to create by using the macro recorder a very simple macro,

which
moves 2 lines down every time I press the short key.

In the Excel version for Windows 95 there had been an option for relative
references using the recorder (Tools/Create Macro/Use Relative

References).
In Excel 2003 I cannot find this option, so that the recorder creates only
absolute references.

"Bob Phillips" wrote:

All sorts of functions, OFFSET, RESIZE etc.

What exactly are you trying to do?

--
HTH

Bob Phillips

"Demokritos" wrote in message
...
How do I create a macro with relative reference in Excel 2003?






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default How do I create a macro with relative address?

Demokritos

Do you mean something along these lines...

ActiveCell.FormulaR1C1 = "=RC[2]+R[2]C[2]"
ActiveCell.FormulaR1C1 = "=R[2]C+R[2]C[2]"

......although I prefer to use offset(rows,columns).

The flag you are after in Excel 2000 can be found in
Tools - Options - General Tab

Haven't got 2003 but perhaps it hasn't moved.

Donna



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I create a macro with relative address?

You´ve got a point!! Actually this facillity is avilable in Excel 2003, but
it has a way of comming and going which I can´t find out. I´m sure that it
can be turned of and on in some way. But how???????
:-)


"Demokritos" skrev:

Thank you for your answer.
I'm trying to create by using the macro recorder a very simple macro, which
moves 2 lines down every time I press the short key.

In the Excel version for Windows 95 there had been an option for relative
references using the recorder (Tools/Create Macro/Use Relative References).
In Excel 2003 I cannot find this option, so that the recorder creates only
absolute references.

"Bob Phillips" wrote:

All sorts of functions, OFFSET, RESIZE etc.

What exactly are you trying to do?

--
HTH

Bob Phillips

"Demokritos" wrote in message
...
How do I create a macro with relative reference in Excel 2003?




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default How do I create a macro with relative address?

There is still this option in my Excel 2003. It is on the Stop toolbar which
appears when you have OK the macro dialog.

--
__________________________________
HTH

Bob

"Pythagoras" wrote in message
...
You´ve got a point!! Actually this facillity is avilable in Excel 2003,
but
it has a way of comming and going which I can´t find out. I´m sure that
it
can be turned of and on in some way. But how???????
:-)


"Demokritos" skrev:

Thank you for your answer.
I'm trying to create by using the macro recorder a very simple macro,
which
moves 2 lines down every time I press the short key.

In the Excel version for Windows 95 there had been an option for relative
references using the recorder (Tools/Create Macro/Use Relative
References).
In Excel 2003 I cannot find this option, so that the recorder creates
only
absolute references.

"Bob Phillips" wrote:

All sorts of functions, OFFSET, RESIZE etc.

What exactly are you trying to do?

--
HTH

Bob Phillips

"Demokritos" wrote in message
...
How do I create a macro with relative reference in Excel 2003?





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
How can I create a macro for my email address? filing downloaded email stationery Excel Discussion (Misc queries) 2 November 20th 08 04:45 PM
How write Macro to save worksheet to a RELATIVE address Barry Excel Discussion (Misc queries) 10 May 1st 08 08:24 PM
How do I avoid excel change absolute address to relative address Miguel Excel Discussion (Misc queries) 3 May 10th 07 11:18 PM
what is difference between absolute address and relative address? what is difference between absolute addr Excel Discussion (Misc queries) 1 July 22nd 06 08:17 AM
Relative address equations OkieViking Excel Programming 6 April 17th 05 12:33 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"