Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In my VBA module, I need to save an Excel file into a folder created by a VB
program. The VB date format code is: dates = Day(Now) & " " & Left(MonthName(Month(Now)), 3) & " " & Year(Now) which today gave me a folder as "Folder 6 Nov 2003". The problem is the single digit for the day, which will become a double-digit next week. My VBA code of: Format(Now, "dd mmm yyyy") wants to always give me a two-digit day - and then, of course, it can't find the folder. How can I format this to give only a single digit on single-digit days? Thanks. Ed |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to conditional format all black after date specified in code? | Excel Discussion (Misc queries) | |||
date format code in national language version | Excel Discussion (Misc queries) | |||
Code Date Format Depending on Computer format | Excel Discussion (Misc queries) | |||
date format in code | Excel Discussion (Misc queries) | |||
Problem with Date format from VBA code | Excel Discussion (Misc queries) |