![]() |
#1
|
|||
|
|||
![]()
Hi,
I'm would like to insert a selected excel range[ActiveSheet.Range("A4:E" & NbItems).Copy] in an empty PowerPoint table [2 rows, two columns]. If I do it manually it works perfectly so I beleive that this is possible to acheive with VBA So what I did is the following With PPtApp .ActivePresentation.Slides(.ActivePresentation.Sli des.count - 1).Shapes(3).Table.Cell(1, 1).Select Selection.PasteSpecial DataType:=ppPasteDefault End With "Selection.PasteSpecial DataType:=ppPasteDefault" doesn't work. I've VBA message : Run-time error '1004': Application-defined or object-defined error Thanks a lot in advance for your support! |
#2
|
|||
|
|||
![]()
So finally I found the answer!
.ActiveWindow.View.Paste |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Kapoof | Excel | 1 | 02-18-2014 02:12 PM |
Copy Excel data into an existing Word Table | JJG | Word | 1 | 12-18-2013 05:41 PM |
Insert table in document - automatically updates second table in summary? | Mechanic | Word | 2 | 08-01-2012 09:44 PM |
Need help to insert a picture (.jpg) into slide 1 of an existing PowerPoint | CatMan | PowerPoint | 3 | 04-24-2012 01:25 PM |
Linking Excel Table to Powerpoint | gsteveli | PowerPoint | 0 | 05-25-2011 07:50 PM |