+ Reply to Thread
Results 1 to 7 of 7

Date & Time stamp VB script

  1. #1
    Registered User
    Join Date
    01-13-2015
    Location
    Oklahoma City, OK
    MS-Off Ver
    2003
    Posts
    9

    Date & Time stamp VB script

    I need to create an excel sheet in 2003 with a vb script that when I enter text & numbers in columns B, C, D, E, F, etc. it creates a date and time stamp in column A. Sorry, I guess I'm in the right place to post this. If not please redirect. Thank you.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Date & Time stamp VB script

    May be something like that
    Please Login or Register  to view this content.
    Where 2 reppresents column B and 6 for column F
    you can change to suit
    Last edited by YasserKhalil; 01-14-2015 at 10:29 AM.

  3. #3
    Registered User
    Join Date
    01-13-2015
    Location
    Oklahoma City, OK
    MS-Off Ver
    2003
    Posts
    9

    Re: Date & Time stamp VB script

    Thank you that works very well. Just one question. How can I get row A1 cleared for the title of the form, and start the script working exactly the same starting at at A2?

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Date & Time stamp VB script

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-13-2015
    Location
    Oklahoma City, OK
    MS-Off Ver
    2003
    Posts
    9

    Re: Date & Time stamp VB script

    Perfect. Now for a really novice question. When I go to save my file it says "the following features from your workbook will not be saved into the XML spreadheet: VB Project Do you want to continue saving as an XML spreadsheet?" What am In doing wrong here? Thank you.

  6. #6
    Registered User
    Join Date
    01-13-2015
    Location
    Oklahoma City, OK
    MS-Off Ver
    2003
    Posts
    9

    Re: Date & Time stamp VB script

    Sorry, I am new to this. It works perfect, got the Title to the sheet in A1, and the rest of theet works. However, I forgot that in A2 row I need to put column headers. Thank you.

  7. #7
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Date & Time stamp VB script

    Quote Originally Posted by Jeff930 View Post
    Perfect. Now for a really novice question. When I go to save my file it says "the following features from your workbook will not be saved into the XML spreadheet: VB Project Do you want to continue saving as an XML spreadsheet?" What am In doing wrong here? Thank you.
    Click No and choose from field Save as type : Excel Macro-Enabled Workbook to be able to save the vba codes ..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need vba code to change date&time stamp as date format dd-mmm-yy in A:A rng
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2014, 06:08 AM
  2. Adding time (more than 24 hours) to date time stamp
    By sidapt in forum Excel General
    Replies: 6
    Last Post: 01-06-2014, 04:08 AM
  3. [SOLVED] Splitting a time stamp into one column for time and another for date
    By Ellsworth Smith in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2013, 02:41 AM
  4. Need to capture date data in a text string containing a date and time stamp
    By Grilleman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2013, 01:14 PM
  5. [SOLVED] Extract a time from a cell with date and time stamp and then perform calculations
    By Marcos Aristotelous in forum Excel General
    Replies: 3
    Last Post: 10-31-2012, 04:36 AM

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