Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Date Reference in VBA

Which addin or reference provides the Date and Time calls
in VBA?

I have a line in a procedu

Worksheets("System").Range("LastAccessDate").Formu la = Date

which works fine on one installation of Excel 2000, but
generates an error "Cannot find profject or Library" in
another, and I am having a problem identifying the
relevant reference.

TIA

Murray

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Date Reference in VBA

Hi Murray

"Date" and the other elements are all built-in and valid in all versions.
Those problems are often caused by something else, interfering with VBA's
"normal behavior". Like reference to a newer ADO library than the one
installed. Or whatever not available.

On the non-working system, in the VB editor, go Tools References and see
if something is marked "Missing". Try unchecking it/them and see what
happens.

--
HTH. Best wishes Harald
Followup to newsgroup only please

"Murray Taylor" skrev i melding
...
Which addin or reference provides the Date and Time calls
in VBA?

I have a line in a procedu

Worksheets("System").Range("LastAccessDate").Formu la = Date

which works fine on one installation of Excel 2000, but
generates an error "Cannot find profject or Library" in
another, and I am having a problem identifying the
relevant reference.

TIA

Murray



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Date Reference in VBA

Just the ticket!, it was a "Missing" reference that seems
to have caused the problem. Many thanks.

Murray


-----Original Message-----
Hi Murray

"Date" and the other elements are all built-in and valid

in all versions.
Those problems are often caused by something else,

interfering with VBA's
"normal behavior". Like reference to a newer ADO library

than the one
installed. Or whatever not available.

On the non-working system, in the VB editor, go Tools

References and see
if something is marked "Missing". Try unchecking it/them

and see what
happens.

--
HTH. Best wishes Harald
Followup to newsgroup only please

"Murray Taylor" skrev i

melding
...
Which addin or reference provides the Date and Time

calls
in VBA?

I have a line in a procedu

Worksheets("System").Range("LastAccessDate").Formu la =

Date

which works fine on one installation of Excel 2000, but
generates an error "Cannot find profject or Library" in
another, and I am having a problem identifying the
relevant reference.

TIA

Murray



.

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
Reference date for timesheet DaddyO Excel Discussion (Misc queries) 1 March 28th 08 02:28 PM
Reference Date with Or Function rac Excel Discussion (Misc queries) 4 November 17th 06 12:03 AM
no reference date #ref! gongxia649 Excel Discussion (Misc queries) 2 June 12th 06 10:22 PM
Reference date as text systemx Excel Worksheet Functions 3 January 25th 06 12:48 AM
reference to a bimonthly date thrasher Excel Discussion (Misc queries) 1 June 23rd 05 08:06 PM


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