+ Reply to Thread
Results 1 to 3 of 3

compile error, Expected: end of statement

  1. #1
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    compile error, Expected: end of statement

    Hi all,

    probably a simple one. I'm trying to copy formulae down 4 columns to the last row of data but getting the above error on the if function below. I suspect its due to the if function generating text as an output and not a value like the other 3 formulae? Any idea what i should change for it to work?

    Please Login or Register  to view this content.
    Last edited by Gti182; 11-17-2010 at 08:30 AM.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    re: compile error, Expected: end of statement

    You have to double-up quotes in VBA:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Re: compile error, Expected: end of statement

    Cheers for that

+ Reply to Thread

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