Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default Move curser to specific cell when closing

I'd like to have Sheet2 cell B3 the active cell when closing workbook. I know
the code goes in Workbook_BeforeClose(Cancel as Boolean). I just don't know
how to word it? Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Move curser to specific cell when closing

Hi Richard:

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Sheets("Sheet2").Activate
Range("B3").Select
End Sub

By the way, this is a good practice.
--
Gary''s Student


"Richard" wrote:

I'd like to have Sheet2 cell B3 the active cell when closing workbook. I know
the code goes in Workbook_BeforeClose(Cancel as Boolean). I just don't know
how to word it? Thanks in advance

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
How do I move cursor in an active cell without using delete/backsp Sam Excel Discussion (Misc queries) 2 May 29th 06 02:39 AM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
automatically move results from a calculation to a specific cell djh Excel Worksheet Functions 0 February 2nd 06 04:36 PM
need to Copy or Move to active cell from specified range kaream Excel Discussion (Misc queries) 2 December 14th 05 08:12 AM
I can't move from cell to cell with arrow or enter keys. Help! Davidson Girl Setting up and Configuration of Excel 3 November 7th 05 01:14 AM


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