Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Datevalue Error (http://www.outlookbanter.com/outlook-vba/89828-datevalue-error.html)

Pierre Scerri May 2nd 09 03:52 PM

Datevalue Error
 
Hi

This line of code:

a=Datevalue("01 MAY 09")

is giving me a Type Mismatch error.

It was working before I re-installed Windows XP and Office 2003.

I have XP and Office SP3 as before. The refences in the VBA editor seem to
be all there.

Am I missing something?

Thanks

Pierre Scerri


Michael Bauer [MVP - Outlook] May 2nd 09 05:58 PM

Datevalue Error
 


I think that depends on your language setting. For me the German term works,
the English one doesn't.


--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Sat, 2 May 2009 07:52:01 -0700 schrieb Pierre Scerri:

Hi

This line of code:

a=Datevalue("01 MAY 09")

is giving me a Type Mismatch error.

It was working before I re-installed Windows XP and Office 2003.

I have XP and Office SP3 as before. The refences in the VBA editor seem

to
be all there.

Am I missing something?

Thanks

Pierre Scerri


Pierre Scerri May 3rd 09 07:45 PM

Datevalue Error
 
Thanks. That was it.

"Michael Bauer [MVP - Outlook]" wrote:



I think that depends on your language setting. For me the German term works,
the English one doesn't.


--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Sat, 2 May 2009 07:52:01 -0700 schrieb Pierre Scerri:

Hi

This line of code:

a=Datevalue("01 MAY 09")

is giving me a Type Mismatch error.

It was working before I re-installed Windows XP and Office 2003.

I have XP and Office SP3 as before. The refences in the VBA editor seem

to
be all there.

Am I missing something?

Thanks

Pierre Scerri




All times are GMT +1. The time now is 05:05 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com