Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Relative (vs. Absolute) Cell References with macros

Can somebody help me with editing this simple macro. I would like to perform
the following task on any cell in my spreadsheet.

=3+(Cell address one row up)[Enter key][Down Arrow]

You'd think this is pretty simple. But I can't get the macro to execute on
any cell other than the one in which I created the macro. Pretty useless.

Also, how do you record "Right Arrow", "Left Arrow", Down Arrow", and "Up
Arrow" into macros? Would seem to be pretty basic, but I sure can't figure it
out.

Thanks a lot.

C. S. Weiller
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Relative (vs. Absolute) Cell References with macros


Sub Test()
Selection.Formula = "=3+" & ActiveCell.Offset(-1, 0).Address

End Sub


--
Excelenator


------------------------------------------------------------------------
Excelenator's Profile: http://www.excelforum.com/member.php...o&userid=36768
View this thread: http://www.excelforum.com/showthread...hreadid=568020

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 to copy an array without changing relative cell references? Dmitry Excel Worksheet Functions 0 June 19th 06 03:08 PM
Relative, absolute & mixed references in many cells FTM Excel Worksheet Functions 11 June 19th 06 09:38 AM
how to switch between relative and absolute references KeKe New Users to Excel 2 June 9th 06 05:23 PM
Adding a row to worksheet does not update cell references in another. blausen Excel Worksheet Functions 5 February 25th 06 10:14 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 08:16 PM


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