Hello!
well i'm having a problem, my program is pointless but i do it because i don't know waht else to do heh, well this is what it does, all it does, is u type in the name of a music group, in either, heavy, pop, or clasical, and it will just add it to the text boxes, but i made a sub in a standard modeul and it isn't working! check it out, the Intellihence isn't picking up on it either..
Code:Option Explicit Sub AddMuisc(TypeOfMusic As String, ReturnString As String) Dim Prompt As String Dim iBox As String Dim CharWrap As String Prompt = "Enter" & TypeOfMusic & " music group" iBox = InputBox(Prompt, "Add Music") CharWrap = vbCr + vbLf ReturnString = iBox & CharWrap End Sub
thats the code in teh standard moduel here is one of the codes in teh command button named cmdHeavy
I get a Not defined Sub or somthing error, thanks for listeningCode:Private Sub cmdHeavy_Click() Dim Heavy As String AddMusic "Crazy", Heavy Text1.Text = Text1.Text & Heavy End Sub![]()




Reply With Quote