Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I relegate the curser movement in a formula?

I need to move the curser automatically in an excel spreadsheet to a
specified address on the work sheet; say from $K$73 to $N$1. Is there any way
to do this in a formula?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How do I relegate the curser movement in a formula?

Right click on the sheet tab and select view code.

Paste in code like this:

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
If Target.Address = "$K$73" Then
Range("N1").Select
End If
End Sub

--
Regards,
Tom Ogilvy

"Jeff D." <Jeff wrote in message
...
I need to move the curser automatically in an excel spreadsheet to a
specified address on the work sheet; say from $K$73 to $N$1. Is there any

way
to do this in a formula?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How do I relegate the curser movement in a formula?

Thank you Mr. Ogilvy - You made an "Old man smile again". This worked
perfectly!

"Tom Ogilvy" wrote:

Right click on the sheet tab and select view code.

Paste in code like this:

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
If Target.Address = "$K$73" Then
Range("N1").Select
End If
End Sub

--
Regards,
Tom Ogilvy

"Jeff D." <Jeff wrote in message
...
I need to move the curser automatically in an excel spreadsheet to a
specified address on the work sheet; say from $K$73 to $N$1. Is there any

way
to do this in a formula?




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
adjust curser movement comodity man Excel Worksheet Functions 1 July 2nd 09 12:12 AM
My curser is locked.... Andy in Carmel Excel Discussion (Misc queries) 2 October 26th 07 07:42 AM
spreadsheet Curser Shanny Excel Discussion (Misc queries) 1 May 29th 07 08:46 PM
Curser Locked Wang1 Excel Discussion (Misc queries) 1 February 15th 07 08:49 AM
Wild curser Jo3 Excel Discussion (Misc queries) 2 June 14th 05 05:14 PM


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

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

About Us

"It's about Microsoft Excel"