PC Review


Reply
Thread Tools Rate Thread

Date format in text box with VB coding

 
 
=?Utf-8?B?SnVkeVQ=?=
Guest
Posts: n/a
 
      20th Jul 2007
Help,
I have a text box with this info, but I want both the Start and End date to
be formatted with the mmm,yyy format.
Can someone help me with this code please.

="Performance Information " & [Enter a User Name] & "
for the period between " & [Enter a Start Date] & " and " & [Enter an End
Date] &" Format ([Enter a Start Date],"mmm,yyyy")

Thank you.
Judy
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      20th Jul 2007
Try

="Performance Information " & [Enter a User Name] &
" for the period between " &
Format([Enter a Start Date], "mmm,yyyy") &
" and " & Format ([Enter an End Date],"mmm,yyyy")

(all on one line, of course)

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"JudyT" <(E-Mail Removed)> wrote in message
news:F366F0B4-685E-486F-B2E9-(E-Mail Removed)...
> Help,
> I have a text box with this info, but I want both the Start and End date
> to
> be formatted with the mmm,yyy format.
> Can someone help me with this code please.
>
> ="Performance Information " & [Enter a User Name] & "
> for the period between " & [Enter a Start Date] & " and " & [Enter an End
> Date] &" Format ([Enter a Start Date],"mmm,yyyy")
>
> Thank you.
> Judy



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with converting CUSTOM format/TEXT format to DATE format Deo Cleto Microsoft Excel Worksheet Functions 6 2nd Jun 2009 08:14 PM
Convert date from text format to date format =?Utf-8?B?QW5pdGE=?= Microsoft Excel Misc 3 4th Jun 2007 11:57 AM
Convert date + time text format to date format =?Utf-8?B?UGF1bCBIbw==?= Microsoft Excel Worksheet Functions 2 22nd May 2007 05:47 PM
code to convert date from TEXT format (03-02) to DATE format (200203) Gauthier Microsoft Excel Programming 0 22nd Sep 2004 03:26 PM
Change a date in text format xx.xx.20xx to a recognised date format concatenator Microsoft Excel Programming 1 24th Nov 2003 11:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:17 PM.