Hi everyone! I have this code that auto generate a number (000001) in the text box (textbox is located in the sheet 2) when a button in sheet one is clicked. when a button in sheet2 is clicked (its function is to direct the user in sheet1) it deducts the current generated number by 1, it also requires to continue the generated number its sequel even if the file is closed and saved. Attached herewith is a copy of error and a highlighted part where it says Runtime Error 1004; Method 'OLEObjects' of object '_Worksheet' failed Im using Excel 2007. Thanks a million times. The first code is assigned in the button one in sheet one and the second code is assigned in button 2 in sheet2
Bookmarks