Date fuction in Excel 2000

Q

Board Regular
Joined
Apr 21, 2002
Messages
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
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
On 2002-05-13 07:20, Q wrote:
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

The Date Function should operate the same ?
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 ?
 
Upvote 0
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
 
Upvote 0
On 2002-05-13 07:32, Q wrote:
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

I suspect you have a missing reference.
probably for the calendar control ocx ?
But this is a guess.
 
Upvote 0

Forum statistics

Threads
1,214,377
Messages
6,119,185
Members
448,872
Latest member
lcaw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top