Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 441
Default MoveAfterReturn command fails in Worksheet module

I am using Windows XP with Office 2003.
I have the following programs in a sheet module:

Private Sub Worksheet_Activate()
Application.MoveAfterReturn = False
End Sub
Private Sub Worksheet_Deactivate()
Application.MoveAfterReturn = True
End Sub

But, when the sheet is activated, the cell pointer still moves after enter.
How can I get this to work?

Thanks in advance for your assistance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 441
Default MoveAfterReturn command fails in Worksheet module

Please see my later post, I discovered that this is only an issue when sheet
protection is on, but I still want it to function...please see my later post
and ignore this one. Thanks.

"quartz" wrote:

I am using Windows XP with Office 2003.
I have the following programs in a sheet module:

Private Sub Worksheet_Activate()
Application.MoveAfterReturn = False
End Sub
Private Sub Worksheet_Deactivate()
Application.MoveAfterReturn = True
End Sub

But, when the sheet is activated, the cell pointer still moves after enter.
How can I get this to work?

Thanks in advance for your assistance.

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
Link to other worksheet fails. Warren Easton Excel Discussion (Misc queries) 3 January 15th 09 11:10 PM
reference to worksheet fails if row deleted GISJane Excel Worksheet Functions 7 October 10th 08 09:56 PM
MoveAfterReturn is tricking me. Ken McLennan[_3_] Excel Programming 4 October 9th 04 01:13 PM
Using CreateEventProc fails when used with a Worksheet. George Doster Excel Programming 3 October 22nd 03 04:22 PM
ADO Open command fails on multiple SQL functions Zachary Bass Excel Programming 1 August 12th 03 07:54 PM


All times are GMT +1. The time now is 09:55 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"