Ok. When I ran your code and error tripped on:

.Range(startingCount, newCount).Select

So obviously the right text or amount of text wasn't in the document. Yes, do as Paul and Graham have advised.