ghant chart dates

L

Linda

when yu open up a file with a ghant chart sometimes the chart is out
of the viewing area and you have to scroll over but it prints the
right area - I want it to open up automatically to view the chart
without scrolling over ???
Help -
 
R

Rod Gill

Hi,

First check your project's start date. If it's early, then setting it to the
date of the first task to start may fix it.

You can also have a Project_Open macro that jumps to today's date or the
date of the project start.
In Project:
Alt+F11 to display the visual basic environment
Ctrl+R to display the project
Double-click ThisProject
Enter the following code to jump to the project start date
Private Sub Project_Open(ByVal pj As Project)
Application.EditGoTo Date:=Date
End Sub

Enter the following code to jump to the project's start date.
Private Sub Project_Open(ByVal pj As Project)
Application.EditGoTo Date:=ActiveProject.ProjectStart
End Sub
--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
 
G

Gérard Ducouret

Linda,

Try the combination of 2 function keys on your keyboard :
- Press ALT and hit the HOME key to jump to the begining of you project (on
the timescale)
- Press ALT and hit the END key to jump to the end of you project (on the
timescale)

Hope this helps,

Gérard Ducouret
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top