![]() |
![]() |
|
|||||||
| 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 |
|
Guest
Posts: n/a
|
Is there a way I can create a macro to:
Save a file, but automaically using the text in a certain cell as the filename? |
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
Dim strFileName As String strFileName = Sheet1.Range("A1") ThisWorkbook.SaveAs strFileName & ".xls" |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Thanx A lot
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|