+ Reply to Thread
Results 1 to 4 of 4

VBA code causing excel to hangup/ not respond

  1. #1
    Registered User
    Join Date
    07-15-2009
    Location
    New River, AZ
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question VBA code causing excel to hangup/ not respond

    Hi,
    Following code is part of larger macro that will copy any file in a given folder into one spreadsheet. This part of the code works to the extent that it does the match and copies to 'combined sheet' but then it just hangs like it is still looping. Eventually excel does not respond. Appreciate any feedback on what I am doing wrong.
    Last edited by Lizardra; 04-04-2013 at 11:50 AM. Reason: Reformatted Code

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: VBA code causing excel to hangup/ not respond

    Hello Lizardra,

    Welcome to the Forum!

    The code you posted is incomplete making it difficult to determine where the problem is. The best option to solving this problem would be to post a copy of the workbook.

    To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.

    File Manger Picture
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-15-2009
    Location
    New River, AZ
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: VBA code causing excel to hangup/ not respond

    no file to attach
    Last edited by Lizardra; 04-04-2013 at 11:47 AM.

  4. #4
    Registered User
    Join Date
    07-15-2009
    Location
    New River, AZ
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: VBA code causing excel to hangup/ not respond

    Any data included in files is dummy data.
    Last edited by Lizardra; 04-04-2013 at 11:48 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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