Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello Everyone!
I've got two practically identical macros. One works all the time, one never. I can't work out why Open works, but SaveAs doesn't. Does anyone have any idea?? TIA Sxx Sub FileOpenDirectory() Dim strDirectory As String strDirectory = Excel.CommandBars.ActionControl.Tag ChDrive Left(strDirectory, 1) ChDir strDirectory Application.Dialogs(xlDialogOpen).Show End Sub Sub FileSaveAsDirectory() Dim strDirectory As String strDirectory = Excel.CommandBars.ActionControl.Tag ChDrive Left(strDirectory, 1) ChDir strDirectory Application.Dialogs(xlDialogSaveAs).Show End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
aauugghhh...#div/o problems & various average formula problems | Excel Worksheet Functions | |||
ChDir Error | Excel Programming | |||
chdir not accepting string for path | Excel Programming | |||
Links and Chdir | Excel Programming | |||
application.dialogs(xlDialogSaveAs) AND CHDIR | Excel Programming |