Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Can you lock cells so data can't be referenced?

I need to protect data from being referenced. I can hide the tab, password
protect - but you can go to another tab and reference the worksheet data and
it is visible.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Can you lock cells so data can't be referenced?

LGMART1 wrote...
I need to protect data from being referenced. I can hide the tab, password
protect - but you can go to another tab and reference the worksheet data and
it is visible.


Nope. This is impossible in Excel. Anything stored in a worksheet cell
can be accessed by any formula referencing that cell. That's just how
Excel is MEANT to work, so there's no prospect that this would ever
change.

That said, you could use various forms of trickery. Simplest is
obfuscation, meaning adding a lot of estraneous text to any cell
containing your actual data. You'd need a systematic way to filter the
real data out of the entire cells' contents, but this could be done
relatively efficiently using only formulas. There are various forms of
lightweight encryption, but they'd slow down recalc unless you used to
VBA functions to decrypt. There's also the trick of storing data in
text box controls in hidden worksheets, but you'd have no choice but
to use VBA to access the contents of those text boxes.

None of these tricks would prevent anyone who knows how to bypass
internal password security from unprotecting your workbook, worksheets
and VBA projects and unhiding everything. The simple if unwelcome fact
is that nothing stored in an Excel workbook file is robustly protected.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Can you lock cells so data can't be referenced?

If the data is within the same workbook, it can be referenced.

In fact it could be referenced from another workbook.


Gord Dibben MS Excel MVP

On Fri, 31 Jul 2009 11:27:01 -0700, LGMART1
wrote:

I need to protect data from being referenced. I can hide the tab, password
protect - but you can go to another tab and reference the worksheet data and
it is visible.


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 do I lock unclock cells to protect the data entered? Sandi@hotmail Excel Worksheet Functions 1 March 13th 07 02:46 AM
Can I lock data into few cells in sheet and clear the rest eabrown Excel Discussion (Misc queries) 1 February 15th 06 05:41 PM
How do you lock cells - the format - but still allow data entery? Marc New Users to Excel 1 April 14th 05 01:19 PM
Is there a way to toggle cells between display of referenced data. williejoeshaver Excel Discussion (Misc queries) 3 March 11th 05 11:22 PM
Glue/Lock cells to external data before refresh Jo Betty Smith Excel Discussion (Misc queries) 0 February 16th 05 11:55 PM


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