VBA powerpint code Immediate reply pleaseeee!!!!!!!!!!!!!!!!!!!!!!!

vbalearner11

New Member
Joined
Jan 19, 2018
Messages
18
How do i Replace a box in all slides of the presentation containing text "Y-R" with a image1, if it contains "R-G" with a image2, If it contains "Y-G" with a image 3 using VBA code in power point.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
on this page lists a number of different objects you can access in vba to then manipulate your powerpoint project.

https://msdn.microsoft.com/en-us/vba/vba-powerpoint

Figure out what specific object on that page represents what you call "boxes" as there is nothing in powerpoint's object model for VBA called a "box"

Once you figure it out then you can check if it has a Text property and check the value and if you need to delete the "Box" then you should be able to do it through one of those object models. And of course there is an object model for handling pictures. Once you know the technical terms then just google it. This is MrExcel btw so people here will be more familiar with excel, although vba works the same in all the office apps so maybe someone here can help you with actual code if you dont know how to code.
 
Last edited:
Upvote 0
Re "Immediate reply"
Are you saying that the volunteers need to drop whatever they are doing and jump to whatever you want?
At the top is a consulting services site. There you can suggested time limits for a price.
 
Upvote 0
@jolivanes lol

yeah we all have to start somewhere, I actually learned to program modding video games and by talking to people online. The one thing you never want to do is flat out ask someone to give you code and especially do not tell people when and how to reply to you. You get help by not asking for help. Everyone on this site that answers questions is most likely bored, like myself, and like to create vba code for fun. Here people are having fun or just being nice, so you have to ask in a less demanding way and just present your problem. If you show people code you tried to write and tell people why it doesn't work then people may want to help you get it right. So put more effort into your problem and show people you have put effort into it even if you fail miserably then you will most likely get help. That is how I learned to code.
 
Last edited by a moderator:
Upvote 0
So what does that have to do with "Immediate reply"?
 
Upvote 0
Point has been made, let's keep the thread on topic now, please.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top