• Long formulas with linked cells (Excel 2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Long formulas with linked cells (Excel 2003)

    • This topic has 1 reply, 2 voices, and was last updated 18 years ago.
    Author
    Topic
    #442568

    When you use cell.formula in VBA code, it returns an error when the formula is really long. This happens when the formula has many references to cells in another workbook and the referenced workbook is closed. Because the referenced workbook is closed, all the cell addresses have the full path added to the address. This means that the formula is now very very long and cannot be referred to with the .formula property.

    Is there a way around this, other than opening the referenced workbook?

    Viewing 0 reply threads
    Author
    Replies
    • #1065702

      I don’t know of another method. You can always open the other workbook, manipulate the formula, then close the workbook again (all in code).

    Viewing 0 reply threads
    Reply To: Long formulas with linked cells (Excel 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: