Solved

VB in Powerpoint

Posted on 2001-06-14
5
316 Views
Last Modified: 2010-05-02
I am writing a VB macro i Powerpoint.  I simply want to perform a find and replace for a string of text.  HOw can i do this?

thanks.

JS
0
Comment
Question by:jordo2798
5 Comments
 
LVL 6

Expert Comment

by:sharmon
Comment Utility
If this is just something you need to do in code, then you can use the Replace function.

strText = Replace(strText as string, strToFind, strToReplaceWith)
0
 

Author Comment

by:jordo2798
Comment Utility
i might have phrased my question wrong...its not a "string" of text..i need a macro which finds one word which appears frequently in the presntation, and replace it with different word.  
thanks
0
 

Accepted Solution

by:
zippyuk earned 100 total points
Comment Utility
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Hi jordo2798,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept zippyuk's comment(s) as an answer.

jordo2798, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now