![]() |
|
|
|
#1
|
|||
|
|||
|
Here is my code in my vbs file.
Set objWord = CreateObject("Word.Application") objWord.Visible = False Set objDoc = objWord.Documents.Open("C:\Users\zzz\Desktop\New\t _aesum_age_saf.rtf") Set objSelection = objWord.Selection Set objPPT = CreateObject("PowerPoint.Application") objPPT.Visible = True Set objPresentation = objPPT.Presentations.Add Sub Demo2() Dim Tbl As Table For Each Tbl In ActiveDocument.Tables objDoc.Activate With Tbl objDoc.Tbl.Range.Select End With Tbl.Range.Copy Set objSlide = objPresentation.Slides.Add(1,12) objPPT.ActiveWindow.View.Paste Next End Sub objPresentation.SaveAs("C:\Users\zzz\Desktop\New\t able.ppt") objPresentation.Close objPPT.Quit objDoc.Close objWord.Quit |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Convert Word Tables to PDF
|
tcoggins | Word Tables | 2 | 06-29-2016 10:28 AM |
Excel Tables in Word, format issues
|
kamal.shah | Word Tables | 2 | 01-26-2015 03:47 AM |
| convert tables to fillable forms in word | expert4knowledge | Word | 1 | 02-13-2014 03:06 AM |
Unable to convert word to MOBI format
|
fig000 | Word | 1 | 11-17-2013 01:46 AM |
| Convert a file from HTML to WORD format weblayout view | gtselvam | Word | 0 | 12-02-2008 03:53 AM |