OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 10-01-2005, 12:15
Posts: n/a
Default Date?

How do I get todays date into a text box called txtDate in the format 0105
(which is the Month 01 followed by the Year 05)?

Reply With Quote
Old 10-01-2005, 14:41
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,782
Blog Entries: 11
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Format Date

Try this:

txtDate = Format(Date, "mmyy")
Hope it helps,

Reply With Quote
Old 10-01-2005, 15:57
Posts: n/a
Default Re: Format Date

Thanks Shelby.

I can now start to turn my old Corel scripts into VBA.

regards, androooooooooo.............
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB help for date field Kristian CorelDRAW/Corel DESIGNER VBA 4 28-01-2005 04:14
Date Picker Tweak ddonnahoe CorelDRAW/Corel DESIGNER VBA 2 29-10-2004 10:02
document name and created date in Corel drawing eric CorelDRAW/Corel DESIGNER VBA 5 14-09-2004 22:17
Can I hange month start date on yearly single page calendar kingfish Calendar Wizard 2 22-02-2004 20:56
Calendar Date Selection ddonnahoe CorelDRAW/Corel DESIGNER VBA 3 15-01-2004 10:08

All times are GMT -5. The time now is 01:29.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com