TychaBrahe
New Member
- Joined
- Dec 23, 2014
- Messages
- 1
I have a script. One of the lines of the script current reads
InsertLogo "c:\poet\ebp.jpg"
This passes the name of a graphic to a sub that inserts that graphic into a spreadsheet.
What I want to do is popup a form with two radioboxes. The selection of the radioboxes controls which graphic is inserted into the form. What I have so far is
Dim GraphicChoice
Load frmGraphicChoice
frmGraphicChoice.Show
InsertLogo "c:\poet\" & GraphicChoice
Unload frmGraphicChoice
The popup has this code.
Private Sub CommandButton1_Click()
Unload Me
End Sub
Private Sub OptionButton1_Click()
GraphicChoice = "ebp.jpg"
End Sub
Private Sub OptionButton2_Click()
GraphicChoice = "dsc.jpg"
End Sub
This isn't working. Any suggestions?
InsertLogo "c:\poet\ebp.jpg"
This passes the name of a graphic to a sub that inserts that graphic into a spreadsheet.
What I want to do is popup a form with two radioboxes. The selection of the radioboxes controls which graphic is inserted into the form. What I have so far is
Dim GraphicChoice
Load frmGraphicChoice
frmGraphicChoice.Show
InsertLogo "c:\poet\" & GraphicChoice
Unload frmGraphicChoice
The popup has this code.
Private Sub CommandButton1_Click()
Unload Me
End Sub
Private Sub OptionButton1_Click()
GraphicChoice = "ebp.jpg"
End Sub
Private Sub OptionButton2_Click()
GraphicChoice = "dsc.jpg"
End Sub
This isn't working. Any suggestions?