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

VBA and MSFlexGrid

Status
Not open for further replies.

Pcfred

Technical User
Jan 15, 2002
54
US
I've got a simple question that I can't seem to find the answer to.
How can I get data into the second column of the msflexgrid instead of it defaulting to the first column?

this is what I've got so far.

Private Sub UserForm_Initialize()
Dim cRow As Integer

cRow = 2
Do Until ActiveCell = Empty
Me.MSFlexGrid1.AddItem Worksheets("Setup").Cells(cRow, 1)
cRow = cRow + 1
Cells(cRow, 1).Select
Loop


End Sub

 
nevermind....I got it using the TextMatrix method.

thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top