textbox - Creating a template to create, add, and format text boxes to a slide based on user input in PPT using VBA -
I have another question that asks about the logic for using several bully radio buttons, which To ask questions of the survey. The largets issue I had had was getting the text box to fill a different slide to display the mechanism which would affect the customer based on its radio button input.
This is an attempt to find a way to reduce the posting code needed to create, create and format text boxes. The code given below is what I have done so far but it tells me it expects a "=" when I run it.
with the ActivePresentation.Slides as public sub-text box (T integer, L as integer, as in the form of w integer, h as integer, Sys string) Dim myTB as set (7) set myTB = .Shapes.AddTextbox (msoTextOrientationHotizontal, L, T, W, H) myTB.TextFrame.TextRange.Text = Sys myTB TextFrame.TextRange.Font.Color.RGB = RGB (255,255,255) myTB.TextFrame.TextRange.Font.Size = 20 End with End I guess I incorrectly declare logic Maybe what I want to be able to do is just type my text box (200300,200,25, "ERP name") again or in the case statement to format the box. Is there a better way to do this?
You will need to use call text box (the text) , Ultimate, ..., ultimate)
or leave the parentheses.
To clear everything, here is a starting point:
Sub ClearTheField () Dim oSl as slide dim OF active for each OSL display in size in the form of. If oSh.Type = msoOLEControlObject then left $ (OAS OLEFormat.Object.Name, Lane ("text box")) = "text box" then oSh.OLEFormat.Object.Text = for every oh in OSl.Shapes If finished, then left $ (oSh.OLEFormat.Object.Name, Lane ("checkbox")) = "checkbox" then OS.Olformat.object.value = wrong end if left ($ OF.Oldform.Object. Name, lane ("command button") = "command button", then the OS.OldFormat.Object.Coption = "I also changed" end if the end if the next next end sub
Comments
Post a Comment