+ Reply to Thread
Results 1 to 4 of 4

debugging error with file close order

  1. #1
    Forum Contributor
    Join Date
    08-03-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    120

    debugging error with file close order

    hi i get a debug error with the following line. why is that?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: debugging error with file close order

    check your variables pathname and SaveFile if they are not NULL or empty

  3. #3
    Forum Contributor
    Join Date
    08-03-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    120

    Re: debugging error with file close order

    oK i have found that this error occurs because I have already got a file named as test1. how can i overwrite it?

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: debugging error with file close order

    Here's one way:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

+ 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. Solver returen error and cannot solve, and did close the file
    By nlpman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2012, 03:07 AM
  2. Replies: 0
    Last Post: 08-30-2006, 05:58 AM
  3. [SOLVED] Error trying to close down dbase IV file used for input to excel
    By don in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-03-2006, 09:40 PM
  4. Replies: 3
    Last Post: 08-12-2005, 03:05 PM
  5. Startup Error debugging help
    By Ron Rosenfeld in forum Excel General
    Replies: 2
    Last Post: 02-03-2005, 05:06 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