I am trying to write a macro that will convert a Word Document to PowerPoint. The document is generated dynamically by the end user and contains a varying number of pages, as well as several tables with a varying number of rows;
Because of this and because the customers want the ability to edit the text on the slides, the only way I can think of for doing it is to set my page size in the Word document to 6" so the contents of 1 page would fit on a PowerPoint Slide. Then I want to go through the document 1 page at a time, copy it and paste it as ole Object into PowerPoint.
The problem I am having is I can't figure out how to select 1 page in Word using VBA.
Can anyone help me out with this?
Because of this and because the customers want the ability to edit the text on the slides, the only way I can think of for doing it is to set my page size in the Word document to 6" so the contents of 1 page would fit on a PowerPoint Slide. Then I want to go through the document 1 page at a time, copy it and paste it as ole Object into PowerPoint.
The problem I am having is I can't figure out how to select 1 page in Word using VBA.
Can anyone help me out with this?