While on Twitter today, someone was commenting that MS Project has a button allowing you to go to the start of a task in the Gantt view…

image

… But there is no way to click on a button and go to “Today”.  After playing around for a few minutes, I found an easy approach to do this with a macro.  If you are interested in having a button that allows you to go to the current date in teh Gantt view, I’ve listed all the steps to set it up. -Bill

For those of you who know how to create a macro and add it to your toolbar, I will save you all the steps below and just share the code:

Sub GoToTodayInGantt()
    EditGoTo Date:=Now
End Sub

If you do not know how to do this, here is the one-time step to set it up on your installed copy of MS Project:

  1. Running MS Project, go to Tools->Macro->Security and set the level to Medium and click Ok.  Note that you may not need to do this step, but this is the setting I tested with.
  2. Next, go to Tools->Macro->Visual Basic Editor.
  3. Expand the ProjectGlobal (Global.MPT) section and then right-click on the Modules tree and choose Insert->Module
    image
  4. When in the module, paste the code list at the top of this post.
    image
  5. Close the Visual Basic editor and you should be back in MS Project.
  6. Right-click anywhere in the Toolbar and Click on Customize…
    image
  7. In the Customize dialog box, scroll down in the Categories area and click on All Macros.  On the right-side of the screen, find GoToTodayInGantt.
    image
  8. Drag-and-drop the GoToTodayInGantt macro to a suitable area in the Toolbar.  In this case, I added it next to the Scroll To Task icon since it made sense to have both right next to each other.
    image
  9. With the Customize window still open, you can spruce up the new toolbar item a bit by right-clicking on it and changing the Name, Button Image and other elements as you see fit.
    image
  10. You are done!  Now anytime you open MS Project, the icon will be there.  If you do not see this on all projects, then you more than likely did not add the code to the Global.MPT file, so re-check the steps listed above.
    image 

13 Responses to “How to Create a ‘Go To Today’ Button in MS Project”

  • dexter2000ro:

    This is so cool….!!!
    10x

    [Reply]

  • If you are open to having a guest place poster please reply and let me know. I will provide you with unique content for your blog, thanks.. Fashion person want to catches more eyes.coach purses cheap will match your style and coach bags will make you more charming .Here coach purses outlet on sale can help you save a lot of money.

    [Reply]

  • It’s pretty interesting that the mainstream media has changed the way it looks at this recently dont you think? Now it seems that it is discussed thoroughly and more in depth. Overall though I’m looking for a change.

    [Reply]

  • lol. u should make a connection ,if u want to send a gift to her come to shopindream ,it will give you a big surprise

    [Reply]

  • I loved as much as you will receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside case you shield this hike.

    [Reply]

  • Outstanding post, I believe website owners should larn a lot from this site its rattling user friendly .

    [Reply]

  • Super article it is surely. My mother has been seeking for this update.

    [Reply]

  • I’m really loving the theme/design of your blog. Do you ever run into any web browser compatibility problems? A few of my blog readers have complained about my blog not working correctly in Explorer but looks great in Opera. Do you have any ideas to help fix this issue?

    [Reply]

  • I don’t suppose I’ve never read anything like this before. So good to see someone with some authentic ideas on this subject. I really thank you for beginning it. This web site is one thing that’s wanted on the net, somebody with a little originality.

    [Reply]

  • I have observed that costs for on-line degree professionals tend to be an incredible value. For example a full Bachelors Degree in Communication in the University of Phoenix Online consists of Sixty credits at $515/credit or $30,900. Also American Intercontinental University Online offers a Bachelors of Business Administration with a full program element of 180 units and a tuition fee of $30,560. Online learning has made having your college degree far more easy because you might earn your own degree from the comfort of your dwelling place and when you finish working. Thanks for all other tips I have learned through your web-site.

    [Reply]

  • I love your pen is a pleasure to read

    [Reply]

  • I and my guys ended up reviewing the excellent pointers on the website and the sudden got a terrible feeling I never expressed respect to you for those secrets. Most of the boys ended up as a result warmed to read them and have in effect really been taking advantage of them. Appreciation for being really thoughtful and then for deciding upon variety of perfect ideas millions of individuals are really desirous to discover. Our sincere apologies for not expressing appreciation to earlier.

    [Reply]

Leave a Reply

Like this site?
If you like this site, please feel free to donate any amount of money to keep it running. Anything you offer is greatly appreciated!

Archives