mark hansen
Well-known Member
- Joined
- Mar 6, 2006
- Messages
- 534
- Office Version
- 2016
- Platform
- Windows
I've set up a workflow where the users needs to log selected information from a system generated file name. Currently they single click twice on the file name (within File Explorer) and copy that file name into the clipboard.
Then I have a VBA routine that when run, takes the information from the clipboard, and pulls out just the needed information (last Name, First name, Date) and enters that information into the last line of a table. Works great and not too bad of a work flow, considering what they were doing before. (hand jamming each letter).
I'm wondering if I can have the code just looked at the selected file and do the same thing (end up with the last name, first name and Date in the column)?
So is there a way to... user selects the file in file explorer, hit a button in excel and (same as above), pulls the file name, parses it out into needed information, and put in the table.
Thanks,
Mark
Then I have a VBA routine that when run, takes the information from the clipboard, and pulls out just the needed information (last Name, First name, Date) and enters that information into the last line of a table. Works great and not too bad of a work flow, considering what they were doing before. (hand jamming each letter).
I'm wondering if I can have the code just looked at the selected file and do the same thing (end up with the last name, first name and Date in the column)?
So is there a way to... user selects the file in file explorer, hit a button in excel and (same as above), pulls the file name, parses it out into needed information, and put in the table.
Thanks,
Mark