Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2003 hangs with dates in user forms

I've developed a user form with text boxes for date inputs that are linked to cells on my spreadhseet. I'd like the text boxes to display the date in dd/mm/yyyy format and to be preset with today's date when loadfing the user form. Excel keeps hanging when the userform is displayed but I can't figure out where I've gone wrong.
The bizarre thing is that it works ok on another machine on the network but not mine. Have tried repairing and reinstalling office but this doesn't help

I have used the following code to set the values in the text boxes on initialisation of the user for

Private Sub UserForm_Initializ

UserForm.DateTextBox.Value = Format(now(), "dd/mm/yyyy"

End Su

I've also tried not pre-setting the values to today's date and just applying the format after user input and the application still hangs

Any help gratefully received

Thank

Howard
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
Is there a way to show something similiar to treeviews in EXCEL (Not user-forms) ? Radu Excel Discussion (Misc queries) 3 December 4th 06 03:05 PM
Excel 2003: Forms oceanmist Excel Discussion (Misc queries) 1 November 15th 06 04:44 PM
Excel 2003 SP2 hangs on HTML paste AndyB Excel Discussion (Misc queries) 0 November 23rd 05 02:31 PM
Excel 2003 hangs when trying to locate a workbook to open Darren Hill via OfficeKB.com Excel Discussion (Misc queries) 1 March 24th 05 12:41 PM
New user in need of assistance excel pop-ups, forms, +more!! Ken Macksey New Users to Excel 4 January 15th 05 03:18 PM


All times are GMT +1. The time now is 03:17 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"