Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Variable in an R1C1 formula


I am trying to put the following into a cell:

cell(2,3) = "R[-1]c*J"

(where j has been previously defined in the macro)

But, I get an error message "application defined or object define
error"

Any suggestions?

Thanks. :

--
kptheo
-----------------------------------------------------------------------
kptheop's Profile: http://www.excelforum.com/member.php...fo&userid=1562
View this thread: http://www.excelforum.com/showthread.php?threadid=27170

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Variable in an R1C1 formula

Hi
try
cells(2,3).formulaR1C1 = "=R[-1]C*" & J

--
Regards
Frank Kabel
Frankfurt, Germany

"kptheop" schrieb im Newsbeitrag
...

I am trying to put the following into a cell:

cell(2,3) = "R[-1]c*J"

(where j has been previously defined in the macro)

But, I get an error message "application defined or object defined
error"

Any suggestions?

Thanks. :)


--
kptheop
---------------------------------------------------------------------

---
kptheop's Profile:

http://www.excelforum.com/member.php...o&userid=15626
View this thread:

http://www.excelforum.com/showthread...hreadid=271705


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
R1C1 formula question igorek Excel Worksheet Functions 2 October 5th 07 02:58 AM
R1C1 Formula in Excel Barb Reinhardt Excel Worksheet Functions 2 December 8th 05 02:40 PM
R1C1 format using a variable? jim37055 Excel Discussion (Misc queries) 3 October 4th 05 05:47 PM
Variable Reference in R1C1 format Ndel40[_2_] Excel Programming 1 February 20th 04 10:21 PM
looping formula - r1c1 problem MDC[_2_] Excel Programming 2 October 22nd 03 11:13 PM


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