![]() |
|
||||||||
| Site Links |
| Consulting |
| Knowledge Base |
| Training |
| Forum |
| Articles |
| Resources |
| Products |
| Cool Tools |
| Contact |
| About Us |
| Go to Page... |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
|
Solved: How do I replace text in a table?
Working a PP 2010 project to apply some cleanup and reformatting to a PP table that is pasted in from an Excel pivot table.
Management is more PP oriented that Excel, so we'll do the number crunching with Excel, summarize with a pivot table and then paste it onto a PP slide. Bunch of things are applied (so I'll probably be back) but I can't figure out how to do a find and replace to the text in the cells in the table. Doing it a cell at a time by looping the rows and looping the columns is taking too long. This doesn't seem to work since it looks like a Table (or the shape) doesn't have a TextFrame ??? VBA:
VBA tags courtesy of www.thecodenet.com
Any help please??? Paul |
|
Local Time: 11:09 AM
Local Date: 05-19-2013 Location:
|
|
|
|
#2 |
|
|
Hi Paul
AFAIK the only way is looping through rows and columns. John Wilson Microsoft PowerPoint MVP Amazing Free PowerPoint Tutorials http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html |
|
Local Time: 04:09 PM
Local Date: 05-19-2013 Location:
|
|
|
|
#3 |
|
|
Thanks John -- I'll stop looking.
BTW, this is the sub that I ended up using. It just just seems very brute force (inelegant?) VBA:
VBA tags courtesy of www.thecodenet.com
Paul |
|
Local Time: 11:09 AM
Local Date: 05-19-2013 Location:
|
|
|
|
#4 |
|
|
Also, this set just seems to be a throw-away, since nothing is done with it
VBA:
VBA tags courtesy of www.thecodenet.com
Paul |
|
Local Time: 11:09 AM
Local Date: 05-19-2013 Location:
|
|
|
|
#5 |
|
|
Hi (again) Paul
I think you'll find only the first occurance in a cell is replaced? If the word is repeated the other occurrances won't change. May not matter in your situation but I think you could use oTemp like this: VBA:
VBA tags courtesy of www.thecodenet.com
John Wilson Microsoft PowerPoint MVP Amazing Free PowerPoint Tutorials http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html Last edited by John Wilson : 04-15-2012 at 02:23 AM. |
|
Local Time: 04:09 PM
Local Date: 05-19-2013 Location:
|
|
|
|
#6 |
|
|
Thanks (again) John --
That makes perfect sense Since I plan to use my little sub in places other than a single table cell, my way would have caused problems Paul |
|
Local Time: 11:09 AM
Local Date: 05-19-2013 Location:
|
|
![]() |
| Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|


