Closed Thread
Results 1 to 5 of 5

Date modification

  1. #1
    Registered User
    Join Date
    11-27-2007
    Posts
    7

    Unhappy Date modification

    I have a spreadsheet im creating for ordering items. Each time a user puts in an order I want it to be stamped with the date in a cell on the line with the order. I have tried linking cells to the today function but can find no way to automatically convert specific cells to static dates as opposed to functions.
    Every time I write a macro or try to look up date help I can never find how to make one action stamped with the date on a row and not change the next time you open the spreadsheet. Any help or any suggestions on where to get help would be much appreciated. THANK YOU... -Jon

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Hi Jon

    You need event code for this - right-click on the tab name where you want this date to get stamped and choose View Code. Paste the following into the VBE which will open up:

    Please Login or Register  to view this content.
    Everytime someone amends column A on this worksheet, the corresponding cell in the B column will be stamped with the current date. You can amend these columns as appropriate.

    Please post back if you need further help.

    Richard

  3. #3
    Registered User
    Join Date
    11-27-2007
    Posts
    7

    Red face amending column

    thanks for the help richard, im having a problem changing the target column from A to F...As im sure you can tell Im just starting to try and get hold of this programming stuff. I could def. ask a bunch more questions but I think once I can move from column a to f here I should be fine. Cheers, Jon

  4. #4
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi jon,

    not sure but it

    is this

    Please Login or Register  to view this content.
    try this


    Please Login or Register  to view this content.
    i asume the =1 is column a
    =6 is column f

  5. #5
    Registered User
    Join Date
    11-27-2007
    Posts
    7

    Thumbs up thanks

    Steve,

    That's it...my spreadsheet is functional as of now..Thanks everyone for your help, I think im starting to understand this VBA thing. -JON

Closed 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