CHRIS RAE'S VBA PAGES
|Parameters:||IntoDir As String|
|Description:|| Really change directory (and drive)|
Function ReallyChDir(IntoDir As String) As Boolean
' Chris Rae's VBA Code Archive - http://chrisrae.com/vba
' Code by Chris Rae, 25/02/2001
On Error GoTo Fail
ChDrive Left(IntoDir, 2)
ReallyChDir = True
' Well, it broke.
ReallyChDir = False
You're free to use these routines for anything you want - all I ask is that for commercial use you give me credit somewhere. You may instead want to head back to the index for my Visual Basic for Applications Pages or the main routines archive page.