![]() |
#2
|
||||
|
||||
![]()
Change
Code:
Dim FSO As FileSystemObject Code:
Dim FSO as Object Change Code:
Set FSO = New FileSystemObject 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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |