Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I have a userform with 2 textboxes:
Private Sub CommandButton1_Click() a=textbox1 b=textbox2 macro1 'execute the macro1 end end sub sub Macro1() msgbox a,vbokonly,b end sub my problem is that when the userform lost focus the variables lost their value, I mean, when macro1 is called a and b appears as a=empty and b=empty and I want the values od textbox1 and textbox2 How to savfe the variables so they are available using the macro1 ??? Aldo I would like to know information about deffining variables that save his value in all the program and also variables that save his value althougt the program is close and open again TIA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
problems with a userform | Excel Programming | |||
userform problems | Excel Programming | |||
userform problems | Excel Programming | |||
userform problems | Excel Programming | |||
UserForm Problems | Excel Programming |