Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi.
I am designing a workbook in Excel 2002, using VBA6, and i have made worksheet that contains references and sourcematerial I don't want th user to see. But when I hid the document, I found that th sheet(xxx).select function no longer worked. Help -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
in most cases you don't need to select a sheet. Something like the following works also for hidden sheets: sub foo() dim wks as worksheet set wks = worksheets ("Sheetxxx") msgbox wks.range("A1").value end sub -----Original Message----- Hi. I am designing a workbook in Excel 2002, using VBA6, and i have made a worksheet that contains references and sourcematerial I don't want the user to see. But when I hid the document, I found that the sheet(xxx).select function no longer worked. Help? --- Message posted from http://www.ExcelForum.com/ . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can't select a hidden sheet. But you usually don't need to select a
sheet anyway. Show us your code for suggestions. sheets("sheet1").select range("a1").select activecell.copy sheets("sheet2").select range("a1").select activecell.paste can be this without selections of any kind sheets("sheet1").range("a1").copy sheets("sheet2").range("a1") -- Don Guillett SalesAid Software "howie " wrote in message ... Hi. I am designing a workbook in Excel 2002, using VBA6, and i have made a worksheet that contains references and sourcematerial I don't want the user to see. But when I hid the document, I found that the sheet(xxx).select function no longer worked. Help? --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I print hidden Excel worksheets? | Excel Discussion (Misc queries) | |||
Excel 2007 - Hidden worksheets | Excel Worksheet Functions | |||
how do I link to hidden worksheets in excel? | Excel Discussion (Misc queries) | |||
How do I detect hidden worksheets or hidden data on a worksheet? | Excel Discussion (Misc queries) | |||
What is the keyboard shortcut for selecting worksheets in Excel? | Excel Discussion (Misc queries) |