afterdinnerspeaker
Board Regular
- Joined
- Jan 10, 2019
- Messages
- 70
Hi Everyone!
I use the following lines of code to find words "TOTAL REVENUE" in Column "B", then insert one blank row above that row:
Set Fnd = Range("B:B").find("TOTAL REVENUE", , , xlWhole, , , True, , False)
If Not Fnd Is Nothing Then Fnd.EntireRow.Insert
PROBLEM: After finding that Row (and before inserting another row), I'd like to reformat the last "used" cell (containing a number) in that row which will be in Column "H"
Then, I want to reformat that cell by removing highlighting, bolding & font color leaving the figure in black with no formatting
Finally, I'd like to insert a blank row above the row containing "TOTAL REVENUE"
Hoping someone can help me,
Jerry
I use the following lines of code to find words "TOTAL REVENUE" in Column "B", then insert one blank row above that row:
Set Fnd = Range("B:B").find("TOTAL REVENUE", , , xlWhole, , , True, , False)
If Not Fnd Is Nothing Then Fnd.EntireRow.Insert
PROBLEM: After finding that Row (and before inserting another row), I'd like to reformat the last "used" cell (containing a number) in that row which will be in Column "H"
Then, I want to reformat that cell by removing highlighting, bolding & font color leaving the figure in black with no formatting
Finally, I'd like to insert a blank row above the row containing "TOTAL REVENUE"
Hoping someone can help me,
Jerry