Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Hide cell contents

I want to hide the contents of a cell.
Not protect the cell, simply hide the contents.
Something like:-
Range("A1").Contents.Hidden=True
but of course that syntax doesn't work.
Help please
--
donwb
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Hide cell contents

Assign a custom number format of ;;; (that's three semicolons). The value
will not be visible in the worksheet but will still be visible in the
formula bar. Without protecting the sheet, there is no way to prevent the
contents from appearing in the formula bar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"donbowyer" wrote in message
...
I want to hide the contents of a cell.
Not protect the cell, simply hide the contents.
Something like:-
Range("A1").Contents.Hidden=True
but of course that syntax doesn't work.
Help please
--
donwb


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Hide cell contents

Hi Chip
That did it fine. Many thanks
--
donwb


"Chip Pearson" wrote:

Assign a custom number format of ;;; (that's three semicolons). The value
will not be visible in the worksheet but will still be visible in the
formula bar. Without protecting the sheet, there is no way to prevent the
contents from appearing in the formula bar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"donbowyer" wrote in message
...
I want to hide the contents of a cell.
Not protect the cell, simply hide the contents.
Something like:-
Range("A1").Contents.Hidden=True
but of course that syntax doesn't work.
Help please
--
donwb


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
Hide Cell Contents. Dan Excel Discussion (Misc queries) 1 October 5th 08 10:04 AM
Hide Cell contents JT Excel Programming 1 April 17th 07 04:37 PM
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 09:40 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"