LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Perform action if value in cell - conditional VB stmt

Hello,

First, thank everyone for your help to me previously.

I've run into a need repeatedly that I'm sure a VB code will solve.

I have a spreadsheet that contains columns A to J and rows 1 to 100. The
word "Paid" appears sometimes, not always, in column H of my data. I need a
code to repeatedly look for every occurrance of "Paid" in column H and do the
following til the end:
a) highlight the *row* in my data (not the entire row in Excel beyond my
data) that contains the word "Paid" in yellow (I don't want to use
conditional formatting in this instance if it applies)
b) insert 2 rows underneath the row that contains "Paid" & highlight those
rows gray

Thank you very much for your help.

Studebaker


 
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
%1 appears in "Application used to perform action" when trying to edit a file type [email protected] Excel Worksheet Functions 3 December 7th 06 07:00 PM
Perform a "Conditional Substitute/Replace" Bay Area DebG Excel Worksheet Functions 2 October 10th 06 09:38 PM
If stmt and assigning a value to another cell lovethepirk Excel Worksheet Functions 3 April 13th 06 01:50 AM
How do I perform a contains function for a specific cell? Vstein Excel Worksheet Functions 2 May 31st 05 10:11 AM
can you perform a character count per cell with numbers? Amy Excel Discussion (Misc queries) 1 February 17th 05 10:29 PM


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