azizrasul
Well-known Member
- Joined
- Jul 7, 2003
- Messages
- 1,304
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Why does ChDir not change the directory in the following code?
Code:
ChDrive "C"
ChDir Nz("C:\Users\Aziz\Desktop", "")
strFilePathandName = objExcelApp.Application.GetOpenFilename(Title:="SELECT MS EXCEL FILE", FileFilter:="Excel Files *.xls* (*.xls*),")