Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
res = InputBox("Enter a file name ? ", "Company Name here..")
If res = "" Then Exit Sub ThisWorkbook.Save With ActiveWorkbook Worksheets(Array("A", "1")).Copy Application.Dialogs(xlDialogSaveAs) = res <========= Error here End With End Sub I get an error in the above. How do i set res to be the new file name ? Corey.... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Application.Dialogs(xlDialogWorkbookCopy) | Excel Programming | |||
Application.GetOpenFilename vs Application.Dialogs(xlDialogsOpen) | Excel Programming | |||
How to disable the Application Dialogs | Excel Programming | |||
Application.Dialogs(xlDialogFormulaFind).....HELP!!!!!! | Excel Programming | |||
application.dialogs(xlDialogSaveAs) AND CHDIR | Excel Programming |