Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Powerpoint VBA 424 error

Status
Not open for further replies.

remeng

Technical User
Jul 27, 2006
520
US
Hi,

I am receiving a 424 error when I change the text box on the Data slide. In the past this code works.

The objective is to change the text field on the Data slide and have the min1 field on slide DAP_Lost_FL04.

I have checked all of the field names and slide names and they are correct.

What could cause the error and what is the solution?

Thanks,

Mike

Code:
Private Sub min_batch_Change()

If Data.min_batch.Text > "" Then

    DAP_Lost_FL04.min1.Text = Data.min_batch.Text

End If

End Sub
 
The syntax you use suggests that you use VBcomponent names. I can't see a way to rename them and have names other than Slide1, Slide2 etc. Your code works after replacing slide names with names visible in VBEProject explorer window.
Long ago (in PP 2000 or PP 2003) I tried to programmatically change slide names in VBA project, it was possible, but resulted in desynchronisation of the project.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top