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

I'm trying to do something here that requires filling a cell with one
of four possibilities: a completely white cell, completely black, only
the top half of the cell solid black, or the bottom half solid black.
Is there a characterset with these four possibilities, or is there a
way of giving the Fill method the instructions to do this in a VBA
routine?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Custom graphical cell contents

Using regular cell shading (aka "fill") will take care of your first two
possibilities.

There are two characters which might meet your other possibilities:
* UPPER HALF BLOCK (Character code 2580, Unicode (hex))
* LOWER HALF BLOCK (Character code 2584, Unicode (hex))

You can find these characters by selecting menu --- Insert, Symbol. Select
(normal text) for the font and "Block Elements" for the Subset.

If you tweak the font size and row/column height, I think you'll get the
desired results. It also helps to use center formatting for these cells.

-Glenn Ray

"Dennis Snelgrove" wrote:

I'm trying to do something here that requires filling a cell with one
of four possibilities: a completely white cell, completely black, only
the top half of the cell solid black, or the bottom half solid black.
Is there a characterset with these four possibilities, or is there a
way of giving the Fill method the instructions to do this in a VBA
routine?


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
Can I create a custom header that depends on cell contents? Fred Excel Discussion (Misc queries) 3 June 3rd 08 04:16 PM
Custom Header - poss to link to contents of cell? Smudge Excel Discussion (Misc queries) 7 October 31st 07 04:05 PM
can I use a cell's contents as part of a custom header? NHVP Treasurer Excel Discussion (Misc queries) 1 February 12th 06 03:28 AM
excel - insert cell contents in a custom header / footer b Excel Discussion (Misc queries) 0 August 25th 05 06:51 PM
Cell contents with custom time format rounded after double-click HumblePie Excel Discussion (Misc queries) 2 August 6th 05 08:07 PM


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