+ Reply to Thread
Results 1 to 13 of 13

A time and Date Formula

Hybrid View

sinspawn56 A time and Date Formula 04-21-2009, 01:49 PM
c.vaibhav Re: A time and Date Formula 04-21-2009, 02:01 PM
sinspawn56 Re: A time and Date Formula 04-21-2009, 02:25 PM
ChemistB Re: A time and Date Formula 04-21-2009, 02:30 PM
c.vaibhav Re: A time and Date Formula 04-21-2009, 02:36 PM
shg Re: A time and Date Formula 04-21-2009, 02:40 PM
sinspawn56 Re: A time and Date Formula 04-21-2009, 02:47 PM
ChemistB Re: A time and Date Formula 04-21-2009, 03:25 PM
sinspawn56 Re: A time and Date Formula 04-21-2009, 03:36 PM
ChemistB Re: A time and Date Formula 04-21-2009, 03:45 PM
ChemistB Re: A time and Date Formula 04-21-2009, 03:50 PM
sinspawn56 Re: A time and Date Formula 04-21-2009, 03:50 PM
sinspawn56 Re: A time and Date Formula 04-21-2009, 03:57 PM
  1. #1
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: A time and Date Formula

    I found the workbook object but how do I go about pasting your code in there?


    EDIT* I found the object and pasted the code. But I am unable to save the template with the formula in there. I am having to go back into the template and redo the formula.
    Last edited by sinspawn56; 04-21-2009 at 03:45 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: A time and Date Formula

    The easiest way without having to go through manually opening up the VBA editor is to right click on the small Excel icon in the upper left of your spreadsheet next to the File dropdown menu. One of the options should be "View Code" Clicking on that will automatically put you into the "This workbook" code window in VBA. How's that?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: A time and Date Formula

    In order to make changes to the template, open it without enabling macros. So add your code, save the template, reopen the workbook but do not enable macros, then enter your formula again and resave it. Did that work?

+ 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