Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is it possible to display worksheets cells in a userform
I have a worksheet that has some text and formula in a table. I have also used conditional formatting in the table to give be different colour depending on the results in some of the cells. I would like to take the entire table including all the colur formatting and display if in a User form, is this possible? I have tried: myuserform.mytextbox.Value = Workbooks(myWorkbook).Range("MyRange").Value If MyRange equals a single cell then it works fine, but if MyRange covers more than one cell I get an error Run-time error -2147352571 (80020005) Could not set the Value property. Type mismatch. I also tried: myuserform.mytextbox.Text = Workbooks(myWorkbook).Range("MyRange"). Text and this does not error, but it only display the first cell in a column of three values. In either case all formatting appeared lost as I simply ended up with plain text in the Userform. -- Trefor |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
display userform | Excel Discussion (Misc queries) | |||
Display data from multiple worksheets' cells in one worksheet | Excel Worksheet Functions | |||
Display AutoShape in UserForm | Excel Programming | |||
How to force userform to display everything? | Excel Programming | |||
How to cause userform to display | Excel Programming |