Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default FormulaR1C1 v Formula

Can anyone tell me the definitive difference between the range properties
FormulaR1C1 and Formula? I know the former is meant to use R1C1 notation the
latter seems to work just as well for relative formulas, e.g. if the cursor
is in A2:
ActiveCell.FormulaR1C1 = "=R[-1]C" gives me the formula =A1 in the same way
as:
ActiveCell.Formula = "=R[-1]C" does.

However, while:
ActiveCell.Formula = "=A1" gives me the same,
ActiveCell.FormulaR1C1 = "=A1" gives me ='A1'
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default FormulaR1C1 v Formula

Matching A1 style notation with Formula and R1C1 style with FormulaR1C1
should give you the expected output.

Formula may be more robust, but would have problems in an ambiguous
situation.

--
Regards,
Tom Ogilvy


"Smallweed" wrote:

Can anyone tell me the definitive difference between the range properties
FormulaR1C1 and Formula? I know the former is meant to use R1C1 notation the
latter seems to work just as well for relative formulas, e.g. if the cursor
is in A2:
ActiveCell.FormulaR1C1 = "=R[-1]C" gives me the formula =A1 in the same way
as:
ActiveCell.Formula = "=R[-1]C" does.

However, while:
ActiveCell.Formula = "=A1" gives me the same,
ActiveCell.FormulaR1C1 = "=A1" gives me ='A1'

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
What Does FormulaR1C1 Do? JLGWhiz Excel Programming 0 December 15th 06 12:19 AM
What Does FormulaR1C1 Do? Don Guillett Excel Programming 0 December 14th 06 10:33 PM
FormulaR1C1 Aksel Børve Excel Programming 2 February 28th 05 09:52 PM
FormulaR1C1 D.S.[_3_] Excel Programming 2 January 2nd 04 12:03 AM
FormulaR1C1 D.S.[_3_] Excel Programming 0 January 1st 04 09:12 PM


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