+ Reply to Thread
Results 1 to 5 of 5

Complie Error: Expected: list separator or (

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Post Complie Error: Expected: list separator or (

    Hi Friends,

    I am novice to VBA macros, Can anyone help me to correct this Complie error: Expected: list separator or ( while running below code.

    workbooks("SKU Status Tracker.xls").Sheets("Sheet1).range("I" & SKUOutputrc+1).select
    Selection.NumberFormat = "@"


    I want to select a particular Cell (Range ("I" & x) ) from a sheet and change its formart to text.

    Can anyone help me out...

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Complie Error: Expected: list separator or (

    Add the missing double quotes after Sheet1 in this line
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    08-07-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Complie Error: Expected: list separator or (

    Hey thanks for your reply, after adding missing double quote also I am not able to change the format of particular cell to "Text".

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Complie Error: Expected: list separator or (

    What text do you have in the cell?

    You have 2 lines of code which can be reduced to 1 line -
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-07-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Complie Error: Expected: list separator or (

    thanks a lot ya. :-)

+ 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] 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
  2. compile error – expected : list separator or )
    By mdavid800 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2011, 04:59 PM
  3. Compile error: Expected: list seperator or )
    By krish T in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2010, 08:22 AM
  4. Complie error: End If without If
    By Seler Naciowy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2008, 06:49 AM
  5. [SOLVED] VB Complie error - can You Help
    By Anthony in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2005, 06:05 PM

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