+ Reply to Thread
Results 1 to 7 of 7

Enter today date on other sheet from hyperlink

  1. #1
    Forum Contributor unley's Avatar
    Join Date
    11-27-2008
    Location
    South Australia
    MS-Off Ver
    MS Office 2007
    Posts
    253

    Enter today date on other sheet from hyperlink

    Giday to you all.
    I'm trying to work out the code that when I click on the hyperlink in "Summary" sheet, it will enter the today date on the other sheet ("BriCivic") in A3. I have created a macro button in "BriCivil" sheet that will enter a today date back in the same hyperlink in "Summary" sheet that it will tell us when it is due for the next inspection.
    Also is it possible to have the today date not change on the next day?
    Please find the attached file with my explanation.
    Thanks so much in advance.
    Attached Files Attached Files
    I'm using MS Office 2013

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Enter today date on other sheet from hyperlink

    If you do not want it to change the next day just add a test.

    If the cell is empty add the date if not skip it

    Please Login or Register  to view this content.
    Now() or Today() adds the full timestamp

    You can also use Date
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Contributor unley's Avatar
    Join Date
    11-27-2008
    Location
    South Australia
    MS-Off Ver
    MS Office 2007
    Posts
    253

    Re: Enter today date on other sheet from hyperlink

    Hi Keebellah
    Thank you for replying but I only know VBA a little. I am just a copy programmer.
    So where shall I enter your code from hyperlink?
    If you can take a good look at the spreedsheet with my comments then you will know what I'm after. It is for inspection on the due date. Also how to enter today date on the next available row down in the same column when clicking on the same hyperlink from "Summary" sheet.
    Thank you
    Last edited by unley; 02-08-2017 at 10:10 PM.

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Enter today date on other sheet from hyperlink

    Some macros are missing because you have stored then in your PERSONAL.XLSB and that is on your system, so no go for me.
    The hyperlink only takes you to the BriCivic worksheet, I would do it with macro and have that macro select the Summary sheet and place the code in A3 as shown earlier.
    If you use the value today in the actual date is shwon and will not change anymore.
    If you use Today() in a formula it will change every time you open the file.
    Can't help you with this since I do not have all the macros like enterDate etc.
    Who is going to maintain this if you are just a copy programmer and want to make changes? Ask every time? I suggest a littel basics in VBA, (many free tutorial on online).
    There is quiet a nice group of people in Australia : http://www.myonlinetraininghub.com/

  5. #5
    Forum Contributor unley's Avatar
    Join Date
    11-27-2008
    Location
    South Australia
    MS-Off Ver
    MS Office 2007
    Posts
    253

    Re: Enter today date on other sheet from hyperlink

    Duly noted.
    Thanks for info again. I've been on this site for many years now and other members have been greatly helped for me. They always entered the codes in my previous spreedsheets and that's how I've learnt in some cases.
    I've never asked again on same subject. No wonder why I couldn't find this in Search regarding adding macro in hyperlink.
    Ill take a good look on the site you've given to me but this will not answer my future questions.
    So thanks again

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Enter today date on other sheet from hyperlink

    I hope you don't mistake my not filling it in as not wanting to, but since not all the macros are available I don't know what might happen and if you get macros with the same name it will hinder the processing.
    My goal is also to help people who are starting, I was in your shoes too and time, patience and practice was what it took.
    VBA is nothing more than a series of sequential instructions that translate your thoughts step-by-step to carry out what you 'tell' it to do, of course the only language VBA understands is correct VBA syntax.
    I was trying to figure out exactly what you are trying to achieve, but am still a little in the dark.
    If I can come up with something that helps you I'll post it.

  7. #7
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Enter today date on other sheet from hyperlink

    I hope you don't mistake my not filling it in as not wanting to, but since not all the macros are available I don't know what might happen and if you get macros with the same name it will hinder the processing.
    My goal is also to help people who are starting, I was in your shoes too and time, patience and practice was what it took.
    VBA is nothing more than a series of sequential instructions that translate your thoughts step-by-step to carry out what you 'tell' it to do, of course the only language VBA understands is correct VBA syntax.
    I was trying to figure out exactly what you are trying to achieve, but am still a little in the dark.
    If I can come up with something that helps you I'll post it.

+ 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. [SOLVED] Hyperlink to today's date
    By Trebor777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2016, 10:41 AM
  2. [SOLVED] Prefill text box in userform with today's date but allow user to enter unique date
    By moosetales in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-02-2014, 09:17 AM
  3. How to auto enter today's date into cells
    By Curious Dude in forum Excel General
    Replies: 1
    Last Post: 03-09-2014, 12:43 PM
  4. [SOLVED] how to enter today's date into cell
    By johnandrews in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2014, 04:44 AM
  5. Replies: 3
    Last Post: 06-01-2008, 04:55 PM
  6. [SOLVED] to enter today's date if a cell is blank
    By Lynn Hanna in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-26-2006, 08:10 AM
  7. [SOLVED] in excel how do enter today's date on a laptop
    By bency in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-29-2005, 05:05 PM

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