Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default please help in this program_2

put some values in column A:A. You can use
=-100+INT(RAND()*201)
This will fill a column with random numbers from -100 to 100.

VBA Task
This one will be a teaser with If inside a loop.
Make all the cells with negative values acquire red font. Make all
positive cells with value less than 50 acquire blue font and those
above 50 acquire a green font.
In addition every 10 cells should have white background and alternate
with another 10 cells with gray background


PLEASE WRIGHT IT IN VBA

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



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