Results 1 to 5 of 5

Compile error expected end of statement

Threaded View

apompo21 Compile error expected end of... 03-31-2020, 04:04 PM
mjr veverka Re: Compile error expected... 03-31-2020, 04:09 PM
apompo21 Re: Compile error expected... 03-31-2020, 04:36 PM
apompo21 Re: Compile error expected... 03-31-2020, 04:37 PM
jeffreybrown Re: Compile error expected... 03-31-2020, 04:39 PM
  1. #1
    Registered User
    Join Date
    03-31-2020
    Location
    Iowa, USA
    MS-Off Ver
    Office 365
    Posts
    18

    Compile error expected end of statement

    Does anyone know why I'm getting "Compile error expected end of statement" error message with the following? It keeps highlighting the "Yes"


        Range("H2").Select
        ActiveCell.FormulaR1C1 = "=IF(ISBLANK(RC[1]),"",(IF(G2="Yes", 1, 0)))"
        Range("H2").Select
        Selection.AutoFill Destination:=Range("H2:H74"), Type:=xlFillDefault
    Last edited by jeffreybrown; 03-31-2020 at 04:37 PM. Reason: Please use code tags!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compile error Expected: end of statement
    By Master_Viper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2016, 12:47 PM
  2. compile error expected line number statement end statement
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2014, 10:12 AM
  3. [SOLVED] Compile error: Expected end of statement
    By RoOmIE in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-08-2013, 10:04 AM
  4. [SOLVED] Compile error: Expected end of statement
    By nenadmail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2012, 07:12 PM
  5. Replies: 4
    Last Post: 05-16-2012, 05:33 PM
  6. compile error, Expected: end of statement
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2010, 08:30 AM
  7. How to fix a Compile Error Expected: End of statement.
    By AKarmyguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2010, 02:19 AM

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