excel vba - remove RowHeight settings

I have been using a routine that inserts rows based on a Form button.  It works fine, except:

I included a .RowHeight setting in the routine (which turned out to be unnecessary)
Set insertRow = ws.Cells(rw1, 1).EntireRow
Selection.RowHeight = 14.25   <<===  the problem statement

Open in new window

What this did is remove the AutoFit height for rows, so I have to double-click on the row boundary to "open" the rows (if they overflow the preset height).  

I've removed the .RowHeight Statement.
How might I now adjust all the rows to remove the RowHeight constraint?
I know how to loop through all the rows.
Will Selection.Autofit  (or something like that) remove the .RowHeight constraint?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Yes. Just apply that to a range of rows. But please, don't select rows or cells the way you did - instead, it is better style to write

Open in new window

respective use your insertRow object
set insertRow = ws.Rows(rw1)
' more to do with that row ...

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
codequestAuthor Commented:
That worked. Thanks!
Saurabh Singh TeotiaCommented:
Also you can autofit all the rows in 1 go by something like this...


Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.