Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Select Case for Active Worksheet syntax.


I need help arriving at Select Case for active worksheet syntax. For
example

Select Case Worksheet.Activated
Case "Sheet2"
(code goes here)
PrintChecks"
Case "Sheet3"
(code goes here)
End Select

Thanks a lot. mikeburg


--
mikeburg
------------------------------------------------------------------------
mikeburg's Profile: http://www.excelforum.com/member.php...o&userid=24581
View this thread: http://www.excelforum.com/showthread...hreadid=474294

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Select Case for Active Worksheet syntax.

Hi Mike,

Try:

Select Case ActiveSheet.Name


---
Regards,
Norman



"mikeburg" wrote in
message ...

I need help arriving at Select Case for active worksheet syntax. For
example

Select Case Worksheet.Activated
Case "Sheet2"
(code goes here)
PrintChecks"
Case "Sheet3"
(code goes here)
End Select

Thanks a lot. mikeburg


--
mikeburg
------------------------------------------------------------------------
mikeburg's Profile:
http://www.excelforum.com/member.php...o&userid=24581
View this thread: http://www.excelforum.com/showthread...hreadid=474294



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Select Case for Active Worksheet syntax.


thank you mikeburg


--
mikeburg
------------------------------------------------------------------------
mikeburg's Profile: http://www.excelforum.com/member.php...o&userid=24581
View this thread: http://www.excelforum.com/showthread...hreadid=474294

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
Case without Select Case error problem Ayo Excel Discussion (Misc queries) 2 May 16th 08 03:48 PM
Correct syntax for Active Worksheet [email protected] Excel Programming 4 July 3rd 05 09:04 PM
Select Case on different worksheet? Craigm[_12_] Excel Programming 0 June 24th 05 01:07 PM
Select Case syntax Susan Hayes Excel Programming 2 December 4th 04 10:42 PM
select all arrows or lines on active worksheet - an example DataFreakFromUtah Excel Programming 0 October 1st 04 08:52 PM


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