+ Reply to Thread
Results 1 to 6 of 6

Error 400 - Code Trouble

  1. #1
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Error 400 - Code Trouble

    I am having trouble with the code below. It seems to work fine when I first open the workbook and run, but then conks eventually and continues to give the Error 400 message immediatly after its run.

    Please Login or Register  to view this content.
    Last edited by dreicer_Jarr; 03-11-2010 at 09:17 PM.
    ______________________________________
    "Vision without Execution is a Hallucination"
    Edison

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Error 400 - Code Trouble

    what does debug show?
    hmm cancel that works ok on mine
    Last edited by martindwilson; 03-11-2010 at 08:06 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Re: Error 400 - Code Trouble

    It doesn't show anything. I just get a red X and the Error 400 message.

  4. #4
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Re: Error 400 - Code Trouble

    It works fine on your PC? What version of Excel do you have?

  5. #5
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Re: Error 400 - Code Trouble

    When I move the code to a module I get the following debug:

    Error '1004': Paste method of worksheet class failed

    And the line Worksheets("Dashboard").Paste is in yellow. I don't know what would be the problem though...

    Anything?
    Last edited by dreicer_Jarr; 03-11-2010 at 08:24 PM.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Error 400 - Code Trouble

    i suspect its this bit
    Please Login or Register  to view this content.
    you havent told it where to paste

+ 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