![]() |
![]() |
|
|||||||
| 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
Posts: 1
|
Is there a procedure to use a cell content as a filename?
eg cell d3 contains 'Kevin' which I'd like saved as an automated filename = kevin.xls |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 2,908
|
Hi,
Here are two examples:- 'Save it in current folder ActiveWorkbook.SaveAs Sheets("Sheet1").Range("D3").Value 'or save it in a stated folder ActiveWorkbook.SaveAs "C:temp" & Sheets("Sheet1").Range("D3").Value HTH, D |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|