LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default trim "/" from date

Hi
I have this:

Dim Fname As Variant
Fname = Application.GetSaveAsFilename("c:\MESSER\" & Range("mesnum").Value &
Range("MONTH").Value & ".csv")

If Fname = False Then
MsgBox "You didn't select a file"
Exit Sub
End If
--------------------
The Range("MONTH") has 31/07/2006
How can I trim this to 310706 in the Fname = statement above?
Thanks
Helmut
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
=TRIM(LEFT(B47,FIND(" ",B47)-1)) Jim Excel Discussion (Misc queries) 4 January 28th 10 08:45 PM
=TRIM(LEFT(B50,FIND(" ",B50)-1)) Jim Excel Discussion (Misc queries) 4 January 14th 10 10:56 PM
=SUMPRODUCT(--(TRIM(A1:A10)<"")), what does the "--" mean? Ray Excel Worksheet Functions 2 August 28th 08 08:05 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Trim: Excel 97 gives error "Can't find project or library" Jim Mooney Excel Programming 10 August 30th 04 08:22 PM


All times are GMT +1. The time now is 07:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"