+ Reply to Thread
Results 1 to 3 of 3

Error when formatting date...not sure why

  1. #1
    Registered User
    Join Date
    08-02-2006
    Posts
    25

    Error when formatting date...not sure why

    For some odd reason this code works in one workbook but not in another. Any idea what might be causing this? The error I receive is:

    Compile Error:

    Wrong number of arguments or invalid property assignment.


    I am baffled because it works in some cases but not in all. Here is the code:

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562
    ST4RCUTTER,

    Do you have CurrDate defined in a specific way such as string, number, date, etc.

    Just thinking out loud.
    Sincerely,
    Jeff

  3. #3
    Registered User
    Join Date
    08-02-2006
    Posts
    25
    I did define it as a Date value. I decided to go another route so this problem is no longer an issue.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1