+ Reply to Thread
Results 1 to 1 of 1

Scripting.FileSystemObject Error 53 File Not Found

  1. #1
    Registered User
    Join Date
    09-27-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    10

    Scripting.FileSystemObject Error 53 File Not Found

    Hi All,
    First I would like to say I am blown away by the support and learning I have received since I joined thank you!

    Second I had this running until today I received the error

    53.jpg


    Original code below this Structure That worked until a user loaded a File name 293 characters Long as they are grouping Multi like "Items codes" together for One Photo.
    the procedure runs through Codes in Column A "the New name to rename Jpeg Files" once it has found a match in Column D Color text Green, if not color text Red.

    a sample of text 293 long 988985-988986-988987-988988-988993-988994-988995


    Please Login or Register  to view this content.




    My Second Attempt to use "Scripting.FileSystemObject" as i have researched it is a better way of handling the "Dir(FolderPath & File.Value" but I am having issues to get this working correctly.

    the line " m = Len(myFile) = ".*" m I have assigned as Integer when debugging I can see the values in Len(myFile) but when I check M = 0 I can't get the value to pass ?
    as always your Guidance is most appreciated
    thanks Peter



    Please Login or Register  to view this content.
    Last edited by PeeBee; 04-20-2016 at 08:57 AM.

+ 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. Scripting.FileSystemObject GetFolder not working on Network Drive
    By keithasims in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2014, 04:48 PM
  2. [SOLVED] Trying to search for list of strings using Arrays,Scripting Dictionary or FileSystemObject
    By downtown1933 in forum Excel Programming / VBA / Macros
    Replies: 42
    Last Post: 10-01-2013, 04:38 AM
  3. Copying file but receive an Run-time error'53' - File not found
    By jeffreybrown in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-02-2013, 06:40 PM
  4. File Not Found error when opening User Form - need help tracing root of error
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2013, 03:48 PM
  5. Scripting.FileSystemObject gives Permission denied
    By CrazyFileMaker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2011, 02:29 PM
  6. FileSystemObject.GetFile Error "File Not Found" in Excel 2007
    By treehugger87 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-12-2010, 01:44 PM
  7. [SOLVED] Scripting.FileSystemObject
    By Leif Rasmussen in forum Excel General
    Replies: 1
    Last Post: 01-12-2005, 08:06 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