Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default navigation macro freezes

I have an command button with code attached to move to a spot and
freeze the pane.

Private Sub NavigatetoSpot_Click()
'
' Go to Spot and freeze pane
'
' Go to last spot to ensure below title area
Application.Goto Reference:="AreaLast"
' Go to title area so it is showing in topleft
Application.Goto Reference:="Title"
' Go to one cell below title and freeze the pane
Application.Goto Reference:="FreezePaneSpot"
ActiveWindow.FreezePanes = True
End Sub

Problem is after the command button executes the code, I cannot move
with the cursor keys or execute the return macro. I have to click on a
cell with the mouse or hit escape button. Tried to repeat the go to
the FreezePaneSpot and still locked in position.

How do I fix this?
Thanks so much.
CMarch

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default navigation macro freezes

Try-

range("Title").offset(1,1).select

"cmarch" wrote:

I have an command button with code attached to move to a spot and
freeze the pane.

Private Sub NavigatetoSpot_Click()
'
' Go to Spot and freeze pane
'
' Go to last spot to ensure below title area
Application.Goto Reference:="AreaLast"
' Go to title area so it is showing in topleft
Application.Goto Reference:="Title"
' Go to one cell below title and freeze the pane
Application.Goto Reference:="FreezePaneSpot"
ActiveWindow.FreezePanes = True
End Sub

Problem is after the command button executes the code, I cannot move
with the cursor keys or execute the return macro. I have to click on a
cell with the mouse or hit escape button. Tried to repeat the go to
the FreezePaneSpot and still locked in position.

How do I fix this?
Thanks so much.
CMarch


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 Macro runs fine, but freezes if I try to do ANYTHING else whileit's running Rruffpaw Setting up and Configuration of Excel 0 August 3rd 11 08:31 PM
Macro freezes spreadsheet davemel Excel Discussion (Misc queries) 0 August 1st 06 08:26 AM
Macro freezes after using Filters. davemel Excel Discussion (Misc queries) 2 July 31st 06 01:43 PM
Macro freezes up Excel Jon Delano Excel Programming 4 August 11th 05 07:54 PM
Macro freezes Excel Yohan[_2_] Excel Programming 4 February 17th 04 02:12 PM


All times are GMT +1. The time now is 05:18 AM.

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"