![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Location: Eau Claire, WI
Posts: 4
|
I read Nate's answer to saving a file as the contents of one cell:
Sub save_itas2() fname = Application.GetSaveAsFilename _ (InitialFilename:=Range("a1"), _ FileFilter:="Excel Files (*.xls),*.xls", FilterIndex:=0, Title:="Save As") If fname <> "False" Then ActiveWorkbook.saveas Filename:=fname End If End Sub How do I save the file as the contents of two cells? All help is appreciated. |
|
|
|
|
|
#2 | |
|
Guest
Posts: n/a
|
Quote:
InitialFilename:=Range("a1")& Range("B20") Ivan |
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
yes
|
|
|
|
|
|
#4 |
|
New Member
Join Date: Feb 2002
Location: Eau Claire, WI
Posts: 4
|
Thanks!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|