> > No, I know how to set levels but (1) the levels aren't what I'm interested in
> > and (2) this doesn't tell me what the current ruler values are.
[quoted text clipped - 4 lines]
> If this isn't what you want, it's not clear what specific ruler values you're
> after. Can you explain more?
> Is there any way for me to post my file (or at least an image of what I'm
> trying to get at)?
That'd be a good idea; if you have a web site, pop it up there and post the URL so
we can grab it.
> > > No, I know how to set levels but (1) the levels aren't what I'm interested in
> > > and (2) this doesn't tell me what the current ruler values are.
[quoted text clipped - 4 lines]
> > If this isn't what you want, it's not clear what specific ruler values you're
> > after. Can you explain more?
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
caten - 15 Nov 2006 19:53 GMT
Okay, I have figured out how to capture the ruler values that I want to
reproduce (both tab stops and levels, it turns out). And I found an example
of getting and setting tab stops here: http://www.pptfaq.com/FAQ00794.htm
but I keep getting an error message:
"Run-time error '9': Subscript out of range", which occurs on the line "For
x = 1 To UBound(atabs, 2)".
I thought maybe it was a 0-based vs. 1-based counting issue, but I added 5
more tab stops (so there were a total of 6) and I get the same error.
I checked the Visual Basic Help about arrays and UBound, but I can't figure
out what the problem is. Any ideas?
Steve Rindsberg - 15 Nov 2006 22:15 GMT
> Okay, I have figured out how to capture the ruler values that I want to
> reproduce (both tab stops and levels, it turns out). And I found an example
[quoted text clipped - 8 lines]
> I checked the Visual Basic Help about arrays and UBound, but I can't figure
> out what the problem is. Any ideas?
When I run the code exactly as posted, it works fine here; I'm guessing you
may've incorporated it into a larger chunk of code. It'd help if you could
post the whole works, or at least enough that we can see what's going on.
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================