Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default returning current date in form

A number of years ago, I wrote an app utilizing the DTPicker control in a form. The user could activate the date field to expose the standard calendar, select the required date, then launch the app. The date selected would be pulled from the form as part of the routine. The selected date was also stored in the app as the date that would initially appear when the form was launched the next time.

Now years later (and a few system versions later), the form no longer returns the last date (or the current date for that matter). It appears to return the date when the field was added to the form. If I try to blank out the date in the DTPicker control properties tab, I get a NULL ERROR message unless the checkbox is activated (not what I want). If I try to point the default value of the control to the last date selected (reading from the cell in the worksheet), I get an error (bad syntax?).

It appears that the DTPicker control is no longer viable in Office 2010 and later.

So, is there a current calendar type date selection tool other than DTPicker? Is there a better way of achieving a selectable date using a calendar?

Art
Reply
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
Function for returning quarter based on current date? Steele1978 Excel Worksheet Functions 4 June 26th 12 07:18 PM
Current Date Code in form Tony Excel Discussion (Misc queries) 11 September 21st 09 04:12 PM
dtpicker to display current date when form opens ron mann Excel Programming 2 March 1st 09 10:30 PM
Returning to same column on current line? [email protected] Excel Programming 4 October 9th 08 02:38 PM
formula IF returning current date diane Excel Worksheet Functions 1 March 10th 05 06:54 AM


All times are GMT +1. The time now is 03:27 AM.

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

About Us

"It's about Microsoft Excel"