View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default trouble loading a range into a comboBox

Check your first post, too.

Janis wrote:

Can you tell me why when I run this userform that it erases the values in the
range A1:A12?
The userform initialize procedure runs but it erases the values in the cells
A1:A12 and it doens't have the list in the comboBox but other than that it
runs.

Private Sub UserForm_Initialize()

ThisWorkbook.Worksheets("patients").Range("A1:A12" ) = Me.ComboBox2.Value

End Sub

And I ran it several times and get the same results.

What am I missing?
tnx,


--

Dave Peterson