Results 1 to 2 of 2

Formula with quotations - expected end of statement

Threaded View

meghan.k Formula with quotations -... 09-11-2009, 02:07 PM
DonkeyOte Re: Formula with quotations -... 09-11-2009, 02:13 PM
  1. #1
    Registered User
    Join Date
    09-11-2009
    Location
    Victoria
    MS-Off Ver
    Excel 2003
    Posts
    1

    Formula with quotations - expected end of statement

    Hi,

    I am trying to put the following line of code into a macro to pull information from a pivot table created by the macro. When I type in the formula I get an error saying "expected end of statement". I would imagine this is due to the quotation marks. How can I get around this?

    ActiveCell.FOrmulaR1C1 = "=GETPIVOTDATA("Amount",Table!$A$1,"Card Type","AMEX","Batch Date",'Journal Template'!$A$7)"
    Thanks!
    Last edited by DonkeyOte; 09-11-2009 at 02:14 PM. Reason: added CODE tags

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1