Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is the beginning of a procedure I wrote to enter a formula in a cell
that links the cell to a value in some other cell. When I run this procedure, I get a 1004 error: "Application-defined or obejct-defined error" at the last statement. Public Sub InsertLinkedTableTitle() 'This macro links the suppl table title in draft 'indicators to the CODE box of form Dim RA As Range Set RA = ActiveSheet.Range("A1") RA.FormulaR1C1 = "='Table S' &'Title Page'!D2" End Sub The problem is the 'Table S' part of the formula. If I take it (and the '&") out of the formula, the procedure runs fine. There is something I don't know about formatting such a text string in a formula. JOhn Wirt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run-time error '50290': Application-defined or object-defined erro | Excel Discussion (Misc queries) | |||
Macro error : Application-defined or object-defined error | Excel Discussion (Misc queries) | |||
Macro Run-time Error 1004 Application Defined or Object Defined Error | Excel Programming | |||
Runtime Error 1004 -- Application Defined or Object Defined Error | Excel Programming |