Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is my code. The problem is with the saveas command. It doesnt work.
When i click the button i want it to ask where to save as, with the initial file name to be "proj". Any ideas? Private Sub CommandButton1_Click() Dim est As String, mgr As String, sls As String, build As String, _ proj As String, file As Variant build = builder mgr = manager sls = sales est = estimator proj = project file = proj & ".xls" Range("est") = UCase(est) Range("o_est") = UCase(est) Range("mgr") = UCase(mgr) Range("o_mgr") = UCase(mgr) Range("sales") = UCase(sls) Range("o_sales") = UCase(sls) Range("builder") = UCase(build) Range("o_builder") = UCase(build) If Residential = True Then Call reset_species End If Application.GetSaveAsFilename (file) Unload Me End Sub -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200702/1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SaveAs - VBA | Excel Discussion (Misc queries) | |||
SaveAs - VBA | Excel Discussion (Misc queries) | |||
VBA SaveAs Value | Excel Discussion (Misc queries) | |||
Saveas | Excel Programming | |||
SaveAs | Excel Programming |