VBA - Get Timescale enlarge percentage

J

Julio Baixauli

Hi.

In VBA for MS Project (2003 Professional, in my case), the function
TimescaleEdit is used to change the settings of the timescale:

Dim percentage
percentage=100 '100%
TimescaleEdit Enlarge:=percentage

I would like to know the function or method (if exist) I have to use to get
the actual Enlarge setting. I was looking for it long time, but I have not
found it.

Thankyou!
 
R

Rod Gill

OK, VBA group, but the answer is still as Jan and Jack said: Timescaledit is
write only, so just set the % to 110. If you do not want to interfere with
someone else's Gantt View, then create a new Gantt View just for using with
your macro and leave the original untouched.

--

Rod Gill
Project MVP

Project VBA Book, for details visit:
http://www.projectvbabook.com

NEW!! Web based VBA training course delivered by me. For details visit:
http://projectservertraining.com/learning/index.aspx
 
H

harvey

Hi.

In VBA for MS Project (2003 Professional, in my case), the function
TimescaleEdit is used to change the settings of the timescale:

Dim percentage
percentage=100 '100%
TimescaleEdit Enlarge:=percentage

I would like to know the function or method (if exist) I have to use to get
the actual Enlarge setting. I was looking for it long time, but I have not
found it.

Thankyou!

Also note that the range of values for TimeScaleEdit Enlarge is 25 to
1000.
 

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