Consulting

Results 1 to 3 of 3

Thread: Event for change to textframe

  1. #1

    Event for change to textframe

    Hi,

    I am attempting to write an add-in to allow textboxes to be linked across slides so that text will flow naturally between them. Unfortunately I am struggling to find a suitable event to trigger the code - what I am looking for is an event triggered when a textframe of a shape which is selected is edited. The code would then test for overflow and move any excess text to the next box.

    The best I have found so far is the event for changing your selection - this could be used to assess any textbox overflow once typing has finished and the selection is changed but this would make it difficult and prevent real-time adjustment.

    Does anyone have any ideas that might work?

    Thanks a lot!

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    The WindowSelectionChange Event should fire every time a textframe is changed (not just when it is first selected.)
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    Thanks John - I'll give that a go.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •