![]() |
![]() |
|
|||||||
| 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
|
Hi,
Am trying to write a macro that concatonates the name with the date.. eg. report -> report03042002. Tried using Date$ but can't get rid of the '-' seperator. Any ideas? |
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
Try: Dim strFileName As String strFileName = WorksheetFunction.Substitute _ ("report03-04-2002", "-", "") |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|