![]() |
|
|
|
#1
|
|||
|
|||
|
I am getting closer with:
IIf(DateDiff("d",[Start],[Finish])+1-len([Name])>0,Space(3*DateDiff("d",[Start],[Finish])+1-len([Name])) & [Name],[Name]) |
|
#2
|
|||
|
|||
|
I am beginning to understand this code a bit better. The issue I see is the 3x multiplier is dependent on the timescale you're using. SPACE returns a number that is used to create a blank section prior to writing the NAME. The blank space is a number of spaces as returned by the SPACE function. But the length of the space is probably not the same length as a 'day' represents on the gantt chart again depending on the time scale being used. In my case, where my time scale is very compressed I had to actually divide the number of spaces returned to get the text to fit on the bar.
I would hope there is a way to account for the time scale. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Locking Text Box Position - Word Mac 2011
|
citizenzen | Word | 3 | 02-01-2013 12:24 PM |
How do I place a text box inside of a picture and still have background show through
|
jyfuller | Word | 1 | 06-09-2012 09:51 AM |
| Macro for absolute text box re-position | hobbsbaboo | PowerPoint | 0 | 03-15-2012 01:44 AM |
The printed pdf file doesn't print an equation inside text box! why?
|
Jamal NUMAN | Word | 4 | 07-01-2011 06:27 PM |
| Shortcut inside Word 2010 or 2007 to format text | Ross | Word | 0 | 03-03-2010 05:54 PM |