+ Reply to Thread
Results 1 to 2 of 2

.FolderExists method Returns TRUE when FALSE

  1. #1
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    .FolderExists method Returns TRUE when FALSE

    Incredibly annoyed but I think I know why it is happening.

    All the sudden, this code has been returning TRUE for .FolderExists when its clearly FALSE. The code checks for the directory: ThisWorkbook/Quote Folder/XXXX where XXXX is a unique number.

    Quote Folder is completely wiped empty and the code is saying Quote Folder / XXXX exists - There is nothing in Quote Folder

    Now, I think this is happening because I have created many backups of my workbook. My workbook is on my desktop in a folder. After every night, I copy the folder and rename to "back up + date". So, i think somehow Excel is confused and it is referencing a completely different path than the current open workbook!!!

    Annoying. Any ideas?


    CODE:
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    Re: .FolderExists method Returns TRUE when FALSE

    Hi folks,

    I remedied this by rolling back to simple code which omits the "if folder exists" logic. It appears the code is buggy but I haven't quite put my thumb on why this code is flawed and returns TRUE for if folder exists when it in fact does not.

    THanks

+ 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. lookup exact match returns TRUE or FALSE
    By quade_1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-05-2016, 02:21 AM
  2. This returns a false or a true statement
    By i2trader in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-29-2016, 01:28 PM
  3. [SOLVED] IF Statement Returns False When True On Certain Numbers
    By paulm99 in forum Excel General
    Replies: 3
    Last Post: 11-26-2013, 04:41 PM
  4. IF STATEMENT returns False, even though the results are true
    By Biolu527 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-28-2013, 11:21 AM
  5. Match method always returns false (comparing cell's value to a list)
    By Phalanx_ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-19-2013, 04:09 AM
  6. InStr function returns pseudo True/False?
    By GCW esq in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-04-2012, 08:00 AM
  7. [SOLVED] Function that compares dates and returns TRUE or FALSE
    By Emily in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-25-2006, 04:30 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