OfficeTips Home || VBA Section || General Section || Download Section || Privacy Policy |
Generic function to obtain active slide in any view |
|
Show below is a generic function which returns the active slide object in any given view. This routines is really useful to determine various slide properties of the active slide. Two examples on how to use the function are provided too. The function requires the window object of the active view as an argument. Depending upon the window object it determines the view type and returns the slide object reference.
'
-------------------------------------------------------------------------------- Function GetActiveSlide(ByVal oWnd As Object) As
Object
|
|
This snippet restores the imported image shape to it's original dimensions and restores the defaults of other related properties like Contrast and Brightness. The routines assumes that the current selection is a picture on the slide. '
-------------------------------------------------------------------------------- Sub ResetPictureProperties()
|
Copyright 1999-2022 (c) Shyam Pillai. All rights reserved.