LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Now not regonized as a built in Function, in some spreadsheets?


I have two spreadsheets one works one does not. The only difference is
the capital N in Now. Yes, in the line "If dtDate = 0" in both
instances it is a zero.

In the sheet that does NOT work when I type in a capital N and it makes
it lower case. It will not regonize Now as a function and crashes with
a "Compile error: expected Function or variable."

The Sheet that works has this code:

If dtDate = 0 Then
dtDate = Now
End If

The sheet that does not work has this code:

If dtDate = 0 Then
dtDate = now
End If

It's Monday and I am already confused.
Thanks for looking at this...Craigm


--
Craigm
------------------------------------------------------------------------
Craigm's Profile: http://www.excelforum.com/member.php...o&userid=24381
View this thread: http://www.excelforum.com/showthread...hreadid=539850

 
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 any built in function to draw lines krishnan Excel Worksheet Functions 2 June 22nd 09 01:31 PM
Sqr built-in function in Excel 2003 VBA DaleB Excel Discussion (Misc queries) 4 October 22nd 07 05:15 PM
Use An Excel Built-In Function Entirely Within VBA MDW Excel Programming 3 February 23rd 06 10:03 PM
Access Recordset with Built-In Function Jeff Huff Excel Programming 3 November 10th 03 10:08 PM
User-Defined Function pre-empting Built-in Function? How to undo???? MarWun Excel Programming 1 August 6th 03 09:31 PM


All times are GMT +1. The time now is 01:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"