Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JT JT is offline
external usenet poster
 
Posts: 234
Default Hide Cell contents

Is there any way to hide / protect the contents of a cell so a user cannot
see it at all. I need to enter a file path into a cell (for later use in
another macro). We need to hide the path from users so they can't navigate
to this path.

I have protected the sheet and chaged the font to white but if a user clicks
on it, they can still see it.

Thanks for the help.....
--
JT
  #2   Report Post  
Posted to microsoft.public.excel.programming
dq dq is offline
external usenet poster
 
Posts: 46
Default Hide Cell contents

On 17 apr, 17:18, JT wrote:
Is there any way to hide / protect the contents of a cell so a user cannot
see it at all. I need to enter a file path into a cell (for later use in
another macro). We need to hide the path from users so they can't navigate
to this path.

I have protected the sheet and chaged the font to white but if a user clicks
on it, they can still see it.

Thanks for the help.....
--
JT


Hi JT,

You're almost there. Besides 'Locked' you should also select 'Hidden'
on the 'Protection' tab and when protecting the sheet you should
disallow selecting protected or unprotected cells. Together with
changing the color this does the trick.
Additionally you could make the sheet 'Very Hidden' (using the
properties window in VBA).
But isn't it easier just to define it as a constant in the program? Or
communicating it via the registry?

DQ

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
Hide the contents of cell Canon Excel Discussion (Misc queries) 3 June 2nd 09 12:59 PM
How do I hide the contents of a cell from printing? jhorsleyiii Excel Discussion (Misc queries) 1 October 29th 08 06:49 PM
Hide Cell Contents. Dan Excel Discussion (Misc queries) 1 October 5th 08 10:04 AM
how can I hide the contents of a cell so others cannot see it Russell A Fowler Excel Discussion (Misc queries) 6 March 3rd 07 09:26 PM
Hide Contents of Calculated Cell Prior Sayin New Users to Excel 3 March 3rd 05 10:15 PM


All times are GMT +1. The time now is 03:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"