Good Morning All,
So I have a userform that when prompted comes up filled with information from cells on a worksheet that the user can then edit and then have those values update. The problem is that the cells: 2, 6, 10, 14, 18, 22, and 26 (Oh look a pattern)(Also those are Column numbers just for Offesting purposes) are not to be tampered with and there for do not have txtBoxes in the userform. I was trying:
But I end up with Run-time error '-2147024809 (80070057)':
Could not find the specified object.
Which is probably becuase there is no Me.Controls("txt" & (2,6,10,etc)) that is can find.
and it deletes the Cells I don't want it to touch so I changed it to
Then I found out I missnamed a txtBox which was causing me all the grief >.< but now I am wondering if there is a better way to write this since I am still new at vba.