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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Userform minimise or lose focus

Status
Not open for further replies.

timbo44

Programmer
Nov 5, 2007
8
DE
Hi,

I am putting together an application which is controlled via a userform. Part of the code has opened another workbook. There is a command button on the userform which needs to activate and show this workbook without closing the userform (this has values in list boxes and other controls).
Is there a way of showing the workbook by placing the userform in the background etc or will I have to write all the values on the userform to public variables, close the userform and when reopened, write these values back.

I hope I have explained fully

Thanks

 
If you use userform.hide do they values get lost?

ck1999
 
Your right, what a dummy I am!

Thanks, you've saved me a lot of time as I thought I would have to create another userform and write the spreadsheet values to that.

Sometimes you can't see the wood for the trees!

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top