Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2020, 08:46 PM
ExcelMind ExcelMind is offline VBA For Exporting Selectable, Manipulated MS Word Headings To Powerpoint 2019 Windows 10 VBA For Exporting Selectable, Manipulated MS Word Headings To Powerpoint 2019 Office 2019
Novice
VBA For Exporting Selectable, Manipulated MS Word Headings To Powerpoint 2019
 
Join Date: Jul 2020
Posts: 1
ExcelMind is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 07-15-2020, 01:57 AM
Guessed's Avatar
Guessed Guessed is offline VBA For Exporting Selectable, Manipulated MS Word Headings To Powerpoint 2019 Windows 10 VBA For Exporting Selectable, Manipulated MS Word Headings To Powerpoint 2019 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 1,732
Guessed is a glorious beacon of lightGuessed is a glorious beacon of lightGuessed is a glorious beacon of lightGuessed is a glorious beacon of lightGuessed is a glorious beacon of lightGuessed is a glorious beacon of light
Default

There isn't a simple solution that I know of.

Probably the easiest way is to extract all the headings by creating a simple TOC and then copying that into Powerpoint's outline view
Create the TOC without page numbers by inserting a field with the code
{TOC \o "1-2" \n}

Now the problem with this is when you copy and paste to Powerpoint's outline view, each of the paragraph marks doesn't produce another slide, it just produces a line break. So you could copy the TOC text into a blank Word document and convert all to Heading 1 and then use the Send to Microsoft Powerpoint function. If you wanted the hierarchy, you could replace the TOC 1 with Heading 1 and TOC 2 with Heading 2 before sending to Powerpoint.

Another alternative is to create a macro that performs the task.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
power point, vba, word 19

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's new in Word 2019, Excel 2019 and Outlook 2019 and Why upgrade to Office 2019 is recommended? einfomail Office 1 07-26-2019 09:44 AM
Exporting selected cells to PowerPoint via VBA R Mohan Excel Programming 1 10-03-2018 02:59 PM
VBA For Exporting Selectable, Manipulated MS Word Headings To Powerpoint 2019 Word Template - Selectable Image Population Einstein2000 Word VBA 1 10-17-2017 05:27 PM
Exporting quiz scores from powerpoint to excel spreadsheet/word rjagile PowerPoint 1 02-08-2016 02:26 PM
Exporting from PowerPoint to Jpg files david-and-pam PowerPoint 0 01-25-2012 10:23 PM

Other Forums: Access Forums - Senior Forums

All times are GMT -7. The time now is 12:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft