Is that the only text in the cell or could there be other text in the cell as well?...and searches column C for the term "Method of Quoting:"
Give this macro a try...That will always be the only text in the cell in column C.
Sub EnlargeMethodOfQuoting()
Columns("C").Replace "Method of Quoting:", "#N/A", xlWhole
Columns("C").SpecialCells(xlConstants, xlErrors).RowHeight = 100
Columns("C").Replace "#N/A", "Method of Quoting:", xlWhole
End Sub
What is in the cells of Column C, constants or formulas? If formulas, change that second line to this...Hmm.. it replaces my "Method of Quoting:" with #N/A and then results in "Run-time Error 1004: No cells were found on the second line (adjusting row height)
What version of Excel are you using?All values are text. No formulas
I don't understand why that code did not work for you then... it worked fine for me in the test I did before posting that code. However, since there is only one occurrence of that text in the column, this much simpler macro should work for you...Excel 2013. Right now there are 200 rows. Method of quoting only appears once though.
[table="width: 500"]
[tr]
[td]Sub EnlargeMethodOfQuoting()
Columns("C").Find("Method of Quoting:", , xlValues, xlWhole).RowHeight = 100
End Sub[/td]
[/tr]
[/table]