ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel cell format (https://www.excelbanter.com/excel-programming/329923-excel-cell-format.html)

gb_S49

Excel cell format
 
I am editing a spreadsheet which the original user used cell formatting to
indicate postives. It looks very pretty!! Is there a function, macro I can
use,as
it contains over 3000 row, to replace the shaded (filled but blank) cells
with yes?

JE McGimpsey

Excel cell format
 
See one potential answer in .misc

In article ,
gb_S49 wrote:

I am editing a spreadsheet which the original user used cell formatting to
indicate postives. It looks very pretty!! Is there a function, macro I can
use,as
it contains over 3000 row, to replace the shaded (filled but blank) cells
with yes?


Tom Ogilvy

Excel cell format
 
set rng = Columns(5)
On Error Resume Next
set rng1 = Intersect(rng.specialcells(xlBlanks),Activesheet.U sedRange)
rng1.Value = "Yes"
On Error goto 0
if rng1 is nothing then msgbox "No cells found"
--
Regards,
Tom Ogilvy


"gb_S49" wrote in message
...
I am editing a spreadsheet which the original user used cell formatting to
indicate postives. It looks very pretty!! Is there a function, macro I

can
use,as
it contains over 3000 row, to replace the shaded (filled but blank) cells
with yes?





All times are GMT +1. The time now is 08:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com