Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2018, 09:08 PM
gmayor's Avatar
gmayor gmayor is offline I have Error at  File System Object: Cant find object or lib Windows 10 I have Error at  File System Object: Cant find object or lib Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Change
Code:
Dim FSO As FileSystemObject
to



Code:
Dim FSO as Object

Change
Code:
Set FSO = New FileSystemObject
to

Code:
Set FSO = CreateObject("Scripting.FileSystemObject")

Note you have some undeclared variables in use and some declared variables that are not used.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #2  
Old 07-05-2018, 08:15 AM
johndrew johndrew is offline I have Error at  File System Object: Cant find object or lib Windows 10 I have Error at  File System Object: Cant find object or lib Office 2010 32bit
Novice
I have Error at  File System Object: Cant find object or lib
 
Join Date: Jul 2018
Posts: 2
johndrew is on a distinguished road
Default

It now says fol=folder
Can't find project or Library
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have Error at  File System Object: Cant find object or lib Testing for 'Object has been deleted' error Cosmo Word VBA 14 04-04-2018 01:58 PM
Organization Chart Object Changes to Equation Object? jhcoleman53 Drawing and Graphics 0 08-24-2017 07:09 AM
set row object variable error CLoos Excel Programming 6 03-10-2017 04:48 PM
Problem: object library invalid or contains references to object definitions aligahk06 Office 0 08-19-2010 12:29 PM
Could not load this object as this object is not present in your computer k.gaurav Office 0 08-17-2009 09:57 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft