Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Ok Here is what i have so far: Sub SaveAsCell() Dim strName As String On Error GoTo InvalidName strName = Sheet1.Range("B26") ActiveWorkbook.SaveAs strName Exit Sub InvalidName: MsgBox "No LS or G Enter " & strName & _ " Please Enter Number", vbCritical, "" End Sub Now I am not sure what to add. I want it to go to E26 on error of B26 (if its blank basically i want it to look in the other cell). I am lost at what to do -- Celicaevo ------------------------------------------------------------------------ Celicaevo's Profile: http://www.excelforum.com/member.php...o&userid=27740 View this thread: http://www.excelforum.com/showthread...hreadid=472478 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Save, save as, page setup dimmed out in unprotected excel sheet? | Excel Discussion (Misc queries) | |||
Command Button Save As Application.ExecuteExcel4Macro ("SAVE.AS?() | Excel Discussion (Misc queries) | |||
how to get disk icon on save button of save as dialog like 2000 | Excel Discussion (Misc queries) | |||
when i save xls file, debug script is running and canno't save fil | Excel Discussion (Misc queries) | |||
Save As - Multiple Sheets fails to save as text file | Excel Programming |