![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: 20 Minutes outside Manhattan
Posts: 64
|
I've developed a spreadsheet on a WindowsXpOfficeXP platform.
The platform it is being used on is NT4Office2K. (I know, I know....I like to develop on the same platform that it will be used on too, but I didn't have an extra computer to install the platform on.) The problem is the DATE function in VB. On WinXPOffXP it works fine, but I get a compile error on the DATE on NTWin2K. Can someone please tell me the function for current date in Off2K. [ This Message was edited by: Q on 2002-05-13 07:21 ] |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
How have you coded it and what is the Error You say you are getting a compile error have you got all your references right ? |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: 20 Minutes outside Manhattan
Posts: 64
|
Ivan,
Thanks for the speedy response. The code is for a command button that brings up a calendar (using a calendar control) on a userform. The line is just to default the date to the current date when it is accessed. frmInput.Show frmInput.calInput.Value = DATE As for the specific error I have asked to have a screenshot sent to me, I am waiting on it. [ This Message was edited by: Q on 2002-05-13 07:34 ] |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
probably for the calendar control ocx ? But this is a guess. |
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Location: 20 Minutes outside Manhattan
Posts: 64
|
Thanks, It's a place to start looking.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|