+ Reply to Thread
Results 1 to 8 of 8

Invalid procedure call or argument

  1. #1
    Forum Contributor
    Join Date
    10-01-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    125

    Invalid procedure call or argument

    I am getting the above error in the below code.

    Please Login or Register  to view this content.
    Any correction required in the above code?
    Last edited by krish T; 10-31-2010 at 08:48 AM. Reason: code

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Invalid procedure call or argument

    EDIT: Nvm, I see the comments in your code itself.

    Try commenting out any individual lines Query parameters to see if it operates OK without them.

    Otherwise try recording your own macro using Data > Import External Data > File Type Text and then compare the parameters your version of Excel is giving you.
    Last edited by JBeaucaire; 10-30-2010 at 04:35 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Invalid procedure call or argument

    You might get better results with this:
    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 10-30-2010 at 04:40 AM.

  4. #4
    Forum Contributor
    Join Date
    10-01-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Invalid procedure call or argument

    Yes It worked fine now. Thanks JBeaucaire. Looks like this time I have presented my problem much better way. Thank God !!!

    Thanks for your answer.

  5. #5
    Forum Contributor
    Join Date
    10-01-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Invalid procedure call or argument

    Hi JBeaucaire, How can I see all my posts in the forum? I would like to see all my posts.

    Any guidelines?

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Invalid procedure call or argument

    I use the UserCP button at the top of the page. In fact, I use this as any starting link for coming to the forum as it shows me all my threads with new messages:

    http://www.excelforum.com/usercp.php


    On that page is another link where you can see all your subscription threads:

    http://www.excelforum.com/subscripti...n&folderid=all

  7. #7
    Forum Contributor
    Join Date
    10-01-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Invalid procedure call or argument

    I have checked these. It is showing Subscription (0 threads) and this folder is currently empty. But I have posted some threads. Any idea how can I see those? or How can I subscribe and which one to subscribe to see all my threads?

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Invalid procedure call or argument

    UserCP is what I use, and View All Subscribed Threads.

    The only other thing is your profile settings, perhaps here:

    http://www.excelforum.com/profile.php?do=editoptions

+ 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