+ Reply to Thread
Results 1 to 3 of 3

File not responding

  1. #1
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    File not responding

    I'm running a macro which uses File System Object to get the Name and Title of a large number of PDF documents.
    Because of the large memory required, it looks like my Excel file is about to crash, it goes blank with File Not Responding warning.
    Is there a way to stop this from occurring.
    Is the file really about to crash or is it that there's no memory left for other tasks?
    I don't know if the PDF files are actually opened in the background to get the Title property.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: File not responding

    One thing your code is doing is inserting one row at a time for each file. That is very cumbersome.

    The code below first puts all the files and details in an array. Then inserts all the needed rows en masse. Then pastes the data. The Dictionary object was not needed.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    Re: File not responding

    Great, thanks for the alternative method. Putting into an array sounds correct.

+ 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] Excel file not responding
    By jackblack2 in forum Excel General
    Replies: 0
    Last Post: 04-23-2019, 10:52 PM
  2. Temporary Excel Not Responding when playing a wav file
    By Sabrina1952 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2019, 07:45 PM
  3. Excel 'Not Responding' issue when Copy Worksheet to newbook file
    By FRANKinATLANTA in forum Excel General
    Replies: 3
    Last Post: 03-20-2015, 09:22 AM
  4. File Takes Long Time to Save/Not Responding
    By wisedave in forum Excel General
    Replies: 20
    Last Post: 01-17-2015, 05:44 PM
  5. Replies: 2
    Last Post: 11-20-2011, 08:53 AM
  6. Excel 2007 : File Not Responding
    By frank92612 in forum Excel General
    Replies: 2
    Last Post: 07-16-2011, 05:21 PM
  7. Replies: 0
    Last Post: 03-13-2006, 06:10 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