Keep getting Errors in Code

M

mlarsen1982

Hello, I currently have some VBA code, that when a button is pressed,
it prompts an InputBox that requires the user to enter their center
number. According to thier center number, after enter is pressed, a
new workbook is created containing three copied sheets from other
workbooks. For some reason I keep getting an error whenever I am
testing any center number beyond the 1st one in the sub routine...I'm
not sure how to solve this...I've tried to do If...ElseIf...Then but
that didn't seem to work either...

any help would be greatly appreciated, thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top