+ Reply to Thread
Results 1 to 3 of 3

Compiled Error

  1. #1
    Registered User
    Join Date
    02-08-2009
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    8

    Compiled Error

    Hi,

    I am getting a compiled error when trying to use the below code. It highlights "Payd", but not sure why? Any thoughts?

    Please Login or Register  to view this content.
    Thanks,
    Jay

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

    Re: Compiled Error

    You need to double-up the internal quotes in VBA.

  3. #3
    Registered User
    Join Date
    02-08-2009
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Compiled Error

    Thanks, that did get rid of the error, however when I try to use the above code on the below, I can't seem to get it to work.

    MANDATORY. RIO CA#509513 EX DATE: 3/16/11,PAYDATE:3/23/11.PLEASE CONTACT QC GROUPS LABELS

    But when I use it the same formula in excel it will work.

    I am trying to get the output: "PAYDATE:3/23/11.PLEA" so I can they parse out the paydate in the next column with
    Please Login or Register  to view this content.
    .

    The goal is to get just the paydate "3/23/2011" in a column by itself.

+ 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