Results 1 to 3 of 3

populate a cell once & using TODAY() inside function.

Threaded View

dblword populate a cell once & using... 09-23-2009, 01:58 AM
DonkeyOte Re: populate a cell once &... 09-23-2009, 02:02 AM
dblword Re: populate a cell once &... 09-23-2009, 02:44 AM
  1. #1
    Registered User
    Join Date
    09-23-2009
    Location
    ~100 ft ASL (for now)
    MS-Off Ver
    Excel 2007 (was 2002)
    Posts
    23

    populate a cell once & using TODAY() inside function.

    Greetings,
    I'm starting a project where Excel will be used as the main UI for defining a table of data. I'm expecting to define a "template" - xlt i guess - that users can open and save as an xls, without over-writing the template. Users will populate the spreadsheet with a lot of help from user defined functions.

    I'm just getting started and would like to populate a particular cell with the current date, but only the first time the sheet is opened. I tried checking whether a cell was empty before assigning a value to it, of course this meant recursion!

    Also: It might be nice to use the Today() function inside a UDF, but TODAY isn't a member of Application.WorksheetFunction - is there no way to reference TODAY() from within a UDF?

    Thanks/Cheers!
    Last edited by dblword; 09-26-2009 at 10:11 PM.

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