Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ciara
 
Posts: n/a
Default selected cell - top left

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,
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

You could try something like

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


--
HTH

Bob Phillips

"Ciara" wrote in message
...
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,



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel VB-Copy formula down until adjacent cell (left) is blank? Tony P. Excel Discussion (Misc queries) 1 May 18th 05 06:11 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
averaging from one selected cell to another anthonysuccar Excel Discussion (Misc queries) 0 January 6th 05 04:21 AM
averaging from one selected cell to another anthony_succar Excel Discussion (Misc queries) 0 January 6th 05 04:19 AM
Timestamp cell to left after update Tahlmorrah Excel Discussion (Misc queries) 3 December 3rd 04 12:35 AM


All times are GMT +1. The time now is 11:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"