LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Help! Calling hidden sheets?

Gary,

You can't activate or select a hidden sheet.
You can however load variables in your VB code with the contents of a cell
from a hidden sheet or put values (or even formula's) in the cells

Sub AAA()
A = Worksheets("abc").Cells(1, 10).Value
Worksheets("abc").Cells(1,1).Value =100
Worksheets("abc").Cells(2,1).Formula = = "=SUM(A1,J1)"
End Sub

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *

"Gary" wrote in message
...
I have several modules that call on sheets to perform calculations.

Everything works fine, but when I hide the sheets, the program crashes as it
cannot find the sheet to be called. Is there any way to call 'hidden
sheets?

Syntax used to call worksheets a
1. Worksheets("abc").Activate
2. Sheets("abc").Select

Thanks to all.



 
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
hidden sheets Soccerboy83 Excel Discussion (Misc queries) 5 November 25th 09 06:17 PM
How to show hidden sheets? ghost Excel Discussion (Misc queries) 4 February 3rd 08 03:44 PM
Calling cell values from random sheets from a base sheet [email protected] Excel Worksheet Functions 2 January 19th 07 08:21 PM
Hidden Sheets QUESTION-MARK Excel Worksheet Functions 4 May 19th 06 07:06 PM
Help! Calling hidden sheets? Ron de Bruin Excel Programming 0 February 5th 04 07:02 PM


All times are GMT +1. The time now is 09:01 PM.

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"