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: 155
Default referencing a cell in a hidden sheet

Hello,
I use the code below to enable an authorized user to view a particular sheet.

Question:
Rather than having the password directly in the code, i want to refer to it
in another hidden sheet called 'ColumnMap'. How can I do this? What i am
trying (see below) isn't working


If InputBox("The 'Actual vs Budget' report has restricted access.
Please enter a password to continue") < Sheets("Actual vs
Budget").Range("Q3").Value Then
MsgBox "Incorrect Password"
Else
Worksheets("Actual vs Budget").Visible = True
Worksheets("Actual vs Budget").Activate
Unload Me
End If
--
Carlee
 
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
Sheet referencing in a cell velvetlady Excel Discussion (Misc queries) 1 April 1st 08 06:24 PM
Referencing every 5th cell in another sheet [email protected] Excel Worksheet Functions 4 June 20th 07 02:49 PM
referencing a sheet named in a cell then using data from that sheet gbeard Excel Worksheet Functions 4 April 15th 05 08:42 AM
referencing a cell on another sheet JT[_2_] Excel Programming 7 April 6th 05 02:03 AM
Referencing a cell containing sheet name Marcotte A[_2_] Excel Programming 3 May 20th 04 11:26 PM


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