+ Reply to Thread
Results 1 to 3 of 3

Inserting Date Automatically

  1. #1
    Registered User
    Join Date
    03-31-2007
    Posts
    21

    Inserting Date Automatically

    I want to create a spreadsheet with three columns. The first column will contain the date. The second two columns will contain various data. I am looking for a formula that will automatically put the date in the first column once there is data in the second or third columns. If there is no data in the second two columns I would like to have the date column left empty. Keep in mind that I would like to date to stay permanent meaning I don't want the date changed to a different date (for example if I edit the spreadsheet a week later).

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    You can not do what you want with a formula. you need a worksheet change event macro


    'These instructions pre typed & are worded to cater for the novice programmer
    'To install macro to correct location

    'Copy this macro
    'GoTo Excel
    'Select sheet this is to appy to
    'Right Click on Sheet Name Tab > select View Code
    'Past macro into the Worksheet Module displayed



    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    03-31-2011
    Location
    Kansas City, Kansas
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Inserting Date Automatically

    mudraker,
    Thanks. This is great. Is there a way to change the reference from column A to, let's say, row 1?

+ 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