Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Closing the current focused sheet

Hi all,

On my excel sheet i have a button ,i want that when this button is clicked
the excel sheet closes,but i don't want this action to close any other open
sheet.

Regards
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Closing the current focused sheet

Pietro:
Click on FORMAT across the top
Expand the dropdown list to show entire list
Click on SHEET then click on HIDE
to bring it back follow the procedure and click on UNHIDE

"Pietro" wrote:

Hi all,

On my excel sheet i have a button ,i want that when this button is clicked
the excel sheet closes,but i don't want this action to close any other open
sheet.

Regards

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Closing the current focused sheet

You can't close sheets, only workbooks. adding this insttructtion to a macro
will do what you want

ThisWorkbook.Close

"Pietro" wrote:

Hi all,

On my excel sheet i have a button ,i want that when this button is clicked
the excel sheet closes,but i don't want this action to close any other open
sheet.

Regards

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Closing the current focused sheet

Thanks a lot,
you got me well

"Joel" wrote:

You can't close sheets, only workbooks. adding this insttructtion to a macro
will do what you want

ThisWorkbook.Close

"Pietro" wrote:

Hi all,

On my excel sheet i have a button ,i want that when this button is clicked
the excel sheet closes,but i don't want this action to close any other open
sheet.

Regards

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
problem of moving focused cell by arrow key Sean Excel Discussion (Misc queries) 5 March 22nd 07 03:50 PM
New user with focused direction! Will Excel and VBA do it? Bruce New Users to Excel 1 March 26th 06 11:59 PM
UDF is updateing cells on another sheet with count from current sheet. John Excel Discussion (Misc queries) 3 March 20th 06 03:58 PM
Return number of current sheet Brandon Excel Worksheet Functions 3 April 26th 05 05:55 AM
Can't save chart as object in current sheet Ann Scharpf Charts and Charting in Excel 1 December 3rd 04 11:24 PM


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