LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Need help

I posted last week in regards to this, however I do not think I was clear
enough in what I am looking for. I am trying to create a macro that looks a
cell and if that cell is has a "x"then I want the macro to clear the fields
to the left of that cell. I have
got it to work on a line by line basis but I wan to be able to set this macro
up to work on any line

If i7 = x Then Worksheets("Adjustment").Range("A7:h7").ClearConte nts

The code in the I column looks like this
=IF((H7=""),"",IF(TODAY()(30+H7),"X",""))
 
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 08:33 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"