Consulting

Results 1 to 3 of 3

Thread: VBA For Exporting Selectable, Manipulated MS Word Headings To Powerpoint 2019

  1. #1

    VBA For Exporting Selectable, Manipulated MS Word Headings To Powerpoint 2019

    Have a MS Word 2019 document with Headings Levels 1 to 6.
    Want to get Powerpoint 2019 slides with, say, Slide Title as Heading 1 & Heading 2 (a concatenation). OR
    Just export Headings 1 and Headings 2 ONLY.
    Am aware of the 'Send To Microsoft Powerpoint' ribbon button. But it lacks the functionality to manipulate the headings as stated. It sends all headings in a fixed manner.
    Long searches for VBA code failed. Any help greatly appreciated.

  2. #2
    VBAX Contributor
    Joined
    Jun 2014
    Posts
    107
    Location
    Have you added the reference of Power Point in Word?

  3. #3
    Yes.
    I do not know how to store the MS Word Headings in variables, say, h1 = Heading 1, h2 = Heading 2... etc.
    Then concatenate them, store in a variable say, j1 = h1 & h2.
    Then send j1 to populate Powerpoint Slide 1, Title.
    Repeat for next Heading 1, Heading 2. j1 to populate Powerpoint Slide 2, Title.
    Thank you.

Tags for this Thread

Posting Permissions

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