+ Reply to Thread
Results 1 to 4 of 4

Please solve the Error : Expected List separator..

Hybrid View

  1. #1
    Registered User
    Join Date
    08-23-2014
    Location
    1285
    MS-Off Ver
    2007
    Posts
    21

    Please solve the Error : Expected List separator..

    Hi,

    I am getting an compile error expected List separator in the below line:

    ColumnLetter = Mid(rCell, InStr(rCell , “$") + 1, InStr(2, rCell, “$”) – 2)

    I am novice to excel.

    Please can anyone help on this one.

    Regards

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Please solve the Error : Expected List separator..

    ColumnLetter = Mid(rCell, InStr(1,rCell , “$") + 1, InStr(2, rCell, “$”) – 2)
    you're missing the start position from 1st Instr
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    08-23-2014
    Location
    1285
    MS-Off Ver
    2007
    Posts
    21

    Re: Please solve the Error : Expected List separator..

    I tried this..but still the same error..it is pointing error on somewhere $ sign..

  4. #4
    Registered User
    Join Date
    08-23-2014
    Location
    1285
    MS-Off Ver
    2007
    Posts
    21

    Re: Please solve the Error : Expected List separator..

    It worked...thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Function Error: Compile error: Expected: list separator or )
    By goss in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-05-2014, 02:10 PM
  2. [SOLVED] VBA custom function, Expected List Separator or )
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-15-2014, 05:41 PM
  3. Complie Error: Expected: list separator or (
    By Poornima Rajgopal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-07-2013, 12:32 PM
  4. [SOLVED] Continue code on next line: Compile Error: expected list separator or )
    By ike609 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-05-2012, 08:28 AM
  5. compile error – expected : list separator or )
    By mdavid800 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2011, 04:59 PM

Tags for this Thread

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