Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,670
Default now trying to unselect a sheet

Thanks for the great code everyone on my printing problem. Works great!

Now, I have would like to make an addition to the code that
unselects/deactivates the sheets that were printed vis the command "Printout"

I see there is a deactivate command, but I am getting an error trying to use
it. So, how do I deactivate all but the 1st sheet when multiple sheets are
selected?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default now trying to unselect a sheet

Sub gsnu()
Sheets(1).Select
End Sub

--
Gary''s Student


"Eric" wrote:

Thanks for the great code everyone on my printing problem. Works great!

Now, I have would like to make an addition to the code that
unselects/deactivates the sheets that were printed vis the command "Printout"

I see there is a deactivate command, but I am getting an error trying to use
it. So, how do I deactivate all but the 1st sheet when multiple sheets are
selected?

Thanks!

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 to unselect? Kou Vang[_2_] Excel Programming 3 January 26th 06 02:54 PM
Unselect range Biff Excel Programming 8 September 30th 05 09:31 PM
Unselect Option Box Jon Excel Discussion (Misc queries) 1 May 18th 05 01:02 AM
Unselect a Cell?????? Andoni[_25_] Excel Programming 3 September 3rd 04 07:49 PM
Unselect Filtre .... sal21[_12_] Excel Programming 1 February 23rd 04 01:54 PM


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