![]() |
|
|
|
#1
|
|||
|
|||
|
Quote:
Try this: Code:
Call animations(3, ActivePresentation.Slides(3).Shapes.Title, msoAnimEffectAppear, msoAnimateTextByAllLevels, msoAnimTriggerOnPageClick, -1, 5, 1, ppAfterEffectHideOnClick) |
|
#2
|
|||
|
|||
|
Yes, your example reassures me that it is not possible to use part of the reference. Must use the whole reference instead.
|
|
#3
|
|||
|
|||
|
Quote:
The reason it works within the animations subroutine is because it is enclosed within your 'With' statement. This is basically shorthand which relieves you from having to type the entire reference each time (and I think it may be slightly faster, as it has already referenced the parent object, but I am not 100% sure about this), but you are still referencing the entire object. You should be able to do the same in your test routine: Code:
With ActivePresentation.Slides(vIndex) Call animations(3, .Shapes.Title, msoAnimEffectAppear, msoAnimateTextByAllLevels, msoAnimTriggerOnPageClick, -1, 5, 1, ppAfterEffectHideOnClick) end with |
|
#4
|
|||
|
|||
|
Quote:
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to pass parameters to a .msg file? | HereNow | Outlook | 0 | 11-05-2012 10:38 AM |
| Office 2010 Excel Full pass | raineraus | Excel | 1 | 09-19-2012 12:55 PM |
| Reg expression/ wildcards for mass replacement of contents in table | ghumdinger | Word Tables | 0 | 07-31-2010 12:21 PM |
Conditional Expression that Moves Data (challenging)
|
themangoagent | Excel | 1 | 02-20-2010 11:29 AM |
| evaluating a text expression in a form field | gwp1 | Word | 0 | 10-08-2007 02:15 PM |