Activate Column after locating text in a row

S

Smythe32

Data:

a1=combo box value

row 3 I have column names like AA, BB,CC etc

When someone selects a column name from the combo box, I need to
activate that column.

Can anyone help?
 
T

Tom Ogilvy

Private Sub Combobox1_Click()
sStr = Combobox1.Value
Application.Goto Columns(sStr & ":" & sStr), true
End Sub

Perhaps I don't understand the significance of AA, BB, CC and what is in Row
3.

Regards,
Tom Ogilvy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top