+ Reply to Thread
Results 1 to 2 of 2

Adding a Date/Time when using a LOOP to Save a New Entry

  1. #1
    Forum Contributor sorensjp's Avatar
    Join Date
    12-23-2015
    Location
    Yokosuka, JP
    MS-Off Ver
    2007 and 2016
    Posts
    196

    Adding a Date/Time when using a LOOP to Save a New Entry

    Hi All,

    I'm hoping to add a time stamp to new Product Entry when it is saved on the PRODUCT_CONTROL Sheet. I want it to be placed in column E on the PRODUCT_DB Sheet once I run the Mac Below.

    The Sub Product_SaveNew() code below is from the Attached Book.

    The PRODUCT_CONTROL Sheet is the Back-end where I'm Adding and Saving any new products.
    The PRODUCT_BROWSER Sheet is a Front-End where a customer may view products available for sale.
    I welcome any advice on this project and am very much still learning.

    Please Login or Register  to view this content.
    Be Safe, and Thank you,
    V/r,
    Jim

    ADDED

    I realized I did have an error with the code above - whereas "For VendorCol" should be "For ProductCol"

    Also I have some code that does use the InStr Function w/in the For Loop and was thinking I could use it but don't know how to adjust it.

    Please Login or Register  to view this content.
    Again Thank you for looking,
    V/r,
    Jim
    Attached Files Attached Files
    Last edited by sorensjp; 04-01-2020 at 07:06 AM.

  2. #2
    Forum Contributor sorensjp's Avatar
    Join Date
    12-23-2015
    Location
    Yokosuka, JP
    MS-Off Ver
    2007 and 2016
    Posts
    196

    Re: Adding a Date/Time when using a LOOP to Save a New Entry

    Hello,

    I figured out how to add the Date in the by simply adding:

    Please Login or Register  to view this content.
    to the Product_SaveNew Sub

    I appreciate everyone looking and spending time reading.

    V/r,
    Jim

+ 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. adding date and time and subtracting date-time2 from date-time1
    By tinkerbelle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2018, 10:05 AM
  2. [SOLVED] For loop to save file multiple times with different names each time
    By qwerty7 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2014, 11:20 PM
  3. how to save records through Data entry form
    By roofi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-28-2013, 09:01 AM
  4. Identify the entry which's date & time is intersecting another entries date & time
    By girish.talele in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-14-2012, 07:35 AM
  5. VBA Save as adding a future date to the name (i.e., next Friday's date)
    By symaxf in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2011, 04:12 PM
  6. Time and date each entry
    By MAS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-24-2006, 09:30 PM
  7. [SOLVED] Date and time entry
    By Hans Knudsen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-27-2005, 01:45 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