Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formating cell from a specific text from a drop down box

I am trying to program a worksheet that formats cells (black) when you choose from a drop down box.

Column A is my choices
Row 1 are the item categories I need data
B2 to E6 is my data

So I choose "Car" from a drop down box in A2. I only need data in B2 and B4. I want the rest to be "blacked out"

If I choose "Truck" from the drop down box in A3. I need data in all cells.

If I choose "SUV" from the drop down box in A4. I only need data in D4 and all other cells are "blacked out".


I am very need to VBA programs so please help in the simplest terms.

Thank you very much.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Formating cell from a specific text from a drop down box


wrote in message
I am trying to program a worksheet that formats cells (black) when you
choose from a drop down box.

Column A is my choices
Row 1 are the item categories I need data
B2 to E6 is my data

So I choose "Car" from a drop down box in A2. I only need data in B2 and
B4. I want the rest to be "blacked out"

If I choose "Truck" from the drop down box in A3. I need data in all
cells.

If I choose "SUV" from the drop down box in A4. I only need data in D4
and all other cells are "blacked out".


I am very need to VBA programs so please help in the simplest terms.

Thank you very much.


Have you considered Conditional Formats. Maybe apply 'blacked out' formats
as default, and CFs and 'rules' for your data cells.

Peter T


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
VBA Conditional formating for specific text in several columns johan Excel Programming 1 February 9th 12 11:31 PM
Date Formating within a text cell Rob Excel Discussion (Misc queries) 1 March 1st 10 11:02 PM
Formating Specific Text andreabeas Excel Discussion (Misc queries) 3 March 25th 09 08:20 PM
CONDITIONAL FORMATING FINDING TEXT CONTAINING SPECIFIC NUMBERS Twiggy Excel Worksheet Functions 4 April 12th 06 09:13 AM
drag and drop objects from outside the workbook to a specific cell? helpwithXL Excel Programming 0 February 24th 05 03:21 PM


All times are GMT +1. The time now is 06:53 AM.

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"