J
justzach
first of all i would like to thank EVERYONE on this forum for all of th
great tips and help you have provided a newbie like myself. over th
past week i have learned a great deal of information about excel and V
which has in turned helped me build an excel "program" that i
incredibly helpful for my job.
now my problem...
i have seen post after post describing how to turn off alerts in V
code so that for example the "save as" dialog box will not appear. th
code i am using is:
Application.DisplayAlerts = False
this code works great in one part of my code, but in the followin
snippet it does nothing at all... any ideas???
snippet:
Sheets(Array("Courses", "Extra")).Select
Sheets("Extra").Activate
Sheets(Array("Courses", "Extra")).Copy
Application.DisplayAlerts = False
Application.Dialogs(xlDialogSaveAs).Show arg1:="c:\uga_co\Summer Dat
Sheet.xls"
Application.DisplayAlerts = True
Windows("Summer Data Sheet.xls").Activate
the code does nothing, i still am faced with the "save as" box. i hav
tried removing the "true" statement alltogether, and it still prompt
me for the alert. the only part of my code that this works properly i
in the following snippet:
snippet:
Application.DisplayAlerts = False
Sheets("Room Cap").Select
ActiveWindow.SelectedSheets.Delete
Sheets("Instructor").Select
ActiveWindow.SelectedSheets.Delete
Sheets("Courses").Select
Application.DisplayAlerts = True
please advise and educate me!
thank you very much in advance
great tips and help you have provided a newbie like myself. over th
past week i have learned a great deal of information about excel and V
which has in turned helped me build an excel "program" that i
incredibly helpful for my job.
now my problem...
i have seen post after post describing how to turn off alerts in V
code so that for example the "save as" dialog box will not appear. th
code i am using is:
Application.DisplayAlerts = False
this code works great in one part of my code, but in the followin
snippet it does nothing at all... any ideas???
snippet:
Sheets(Array("Courses", "Extra")).Select
Sheets("Extra").Activate
Sheets(Array("Courses", "Extra")).Copy
Application.DisplayAlerts = False
Application.Dialogs(xlDialogSaveAs).Show arg1:="c:\uga_co\Summer Dat
Sheet.xls"
Application.DisplayAlerts = True
Windows("Summer Data Sheet.xls").Activate
the code does nothing, i still am faced with the "save as" box. i hav
tried removing the "true" statement alltogether, and it still prompt
me for the alert. the only part of my code that this works properly i
in the following snippet:
snippet:
Application.DisplayAlerts = False
Sheets("Room Cap").Select
ActiveWindow.SelectedSheets.Delete
Sheets("Instructor").Select
ActiveWindow.SelectedSheets.Delete
Sheets("Courses").Select
Application.DisplayAlerts = True
please advise and educate me!
thank you very much in advance