View Single Post
 
Old 01-12-2017, 01:32 AM
Guimenez Guimenez is offline Windows 10 Office 2013
Advanced Beginner
 
Join Date: Jan 2017
Posts: 33
Guimenez is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Try the attached template. Note that I've made some other changes to the code, too, so that it simply looks at the first worksheet in the workbook rather than looking for one named 'Folha1'.
Hi, now it's more generic
But i'm getting the same error.
If i have names in the first columm and no number in the second columm, it stop the macro with an error.

I've attached my excel data for you try it out please.
thank you
Attached Files
File Type: xlsx dados.xlsx (9.3 KB, 12 views)
Reply With Quote