I have a code that generates the part called "Machined" from already existing parts in the list called "As wound".
This macro inserts number of rows specified by the user in the input box and fills in appropriate cells.
Code does work perfectly fine if the sample selected is at the first position of the table (Row 9) , but anything that is below this row will prompt with an error:
"run-time error '1004' method 'range' of object '_global' failed"
Here is my file
example.xlsm
Many thanks
Bookmarks