![]() |
![]() |
|
|||||||
| 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: Mar 2002
Posts: 15
|
I have a date in cell C4 that i want to use to open a file from my floppy A drive. The date is in the format March 10, 2002. The filename is in the format __020310.asc. How can I use cell C4 to open this file?
Thanks in advance for the help. |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi NatExcel
Try Dim strName As String strName = Format(Sheet1.Range("C4"), "yymmdd") MsgBox strName & ".file ext" |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|