I have a userform. I want to enter a number in the textbox and click a button that will allow me to select a folder. I then want all the files in that folder to be trimmed/reduced/shortened by the number entered in the textbox. For example, if the name of a file is 'appleboxforstorage' and I entered the number 9 in the textbox, then the new filename would be 'orstorage'. By the way, no filename extensions are shown in the folder as I have that feature turned off (i.e. hide extensions for known filetypes).
I have attached a workbook with what I have done so far. I only have the code to open and browse for a folder.
I picture of the userform is below also:
010119.png
Thank you!
Bookmarks