Run-Time error '3163' in VBA code

I receive Run-Time error '3163', in VBA code which has worked in the past, see attached file.
Thanks!
Run-time-error-3163.docx
Will_NYCAnalystAsked:
Who is Participating?

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

x
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.

Martin LissOlder than dirtCommented:
Does this help?
0
Will_NYCAnalystAuthor Commented:
No, but thanks!  See the attached document, it's VBA code
0
Fabrice LambertFabrice LambertCommented:
Looks like a problem with your data.

Check data types, values, length ect ...
0

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
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Martin LissOlder than dirtCommented:
When it stops at that line go to the Immediate Window via Ctrl+g and type ?len(rstemp.Fields(t)) and press return. If it says that it's more than 100 then that's the problem.
0
Martin LissOlder than dirtCommented:
Oh, and BTW if you click the little "mountain scene" icon next to the CODE icon, you can easily attach pictures, which make it easier for us both.
0
Will_NYCAnalystAuthor Commented:
Thanks, there was something with the data.
0
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
VBA

From novice to tech pro — start learning today.