selected cell - top left

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have frozen panes in my excel screen with command buttons - when I click a
button I want a certain cell to be in the top left corner of the worksheet
(under the frozen pane)

any ideas on code for this?

thanks,
 
You could try something like

With ActiveWindow
If Panes.Count > 1 Then
.Panes(4).VisibleRange.Cells(1, 1).Select
End If
End With
 

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

Back
Top