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

I need to have the cursor placed in cell B2 upon opening a particular
workbook with the active sheet being "Order". Can someone please tell me how
to do this?

Thanks,
Les
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Cursor Placement

Put this in a general module:

Option Explicit
Sub Auto_Open()
application.goto thisworkbook.worksheets("order").range("b2"), scroll:=true
end sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

WLMPilot wrote:

I need to have the cursor placed in cell B2 upon opening a particular
workbook with the active sheet being "Order". Can someone please tell me how
to do this?

Thanks,
Les


--

Dave Peterson
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
Placement of cursor in drop dwn menu Bruce B New Users to Excel 3 January 7th 09 08:23 PM
Cursor placement without Macro/VBA dwiba New Users to Excel 3 December 20th 07 01:27 PM
Cursor Placement Adrienne New Users to Excel 2 November 3rd 07 02:15 PM
excel cell placement by cursor john coon Excel Programming 0 August 9th 05 03:13 PM
Cursor placement Randy New Users to Excel 1 July 11th 05 02:01 PM


All times are GMT +1. The time now is 02:30 AM.

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"