OfficeTips Home || VBA Section || General Section || Download Section || Privacy Policy |
How to determine the cursor position when in slide sorter view |
|
Have you ever needed to insert slides into another presentation based on the current cursor position on that presentation in the slide sorter view? Most probably, the answer would be 'Yes' and the solution is straightforward, isn't it? Retrieve the current slide(s) selection in the target presentation and based on the slide index you can arrive at the insertion point. This works nicely except when the cursor in the target presentation has been placed between two slides or no selection has been made in the slide sorter view. The snippet below illustrates a simple workaround to handle such a situation. |
|
Sub GetCurrentCursorPosForSlide() |
|
Copyright 1999-2018 (c) Shyam Pillai. All rights reserved.