KlayontKress
Board Regular
- Joined
- Jan 20, 2016
- Messages
- 67
- Office Version
- 2016
- Platform
- Windows
To all,
As the title says, I'm looking for a VBA script that will always look in all of the cells in Row 8 for a date string formatted like "2019-10-09" and do an "Alt+Enter" in front of the date to move it down to its own line. We currently have employees doing this manually 1 cell at a time on our quotes and this takes forever. a VBA script could save between 5 and 20 minutes on a particular quote to our customers which really adds up throughout the day in lost productivity, would allow for the employee to slow down and better check their work on a more critical part of their job, and removes a tedious annoyance.
We have a program that dumps data to excel, and the room names for what we designed and priced for our clients are in individual columns. Our program allows us to put a date at the end, but we can't put a return in front of it prior to coming to excel. The customers want this date on its own line so that it's easier for them to see when the room was last modified, but they don't want us to increase the cell width to achieve this. A sample room name would be "STANDARD KITCHEN- ISLAND- 2019-10-09". We occationally run into instances where the designer/quoter will forget to leave a space between the room name and the date, so the date won't always go to its own line even if there was space because it's tied to a previous string.
The easiest solution is a macro to do what we are doing by hand, but I don't know how to find a date string within a cell and always return before the first number in that string.
Any help anyone can provide would be greatly appreciated.
Thanks,
As the title says, I'm looking for a VBA script that will always look in all of the cells in Row 8 for a date string formatted like "2019-10-09" and do an "Alt+Enter" in front of the date to move it down to its own line. We currently have employees doing this manually 1 cell at a time on our quotes and this takes forever. a VBA script could save between 5 and 20 minutes on a particular quote to our customers which really adds up throughout the day in lost productivity, would allow for the employee to slow down and better check their work on a more critical part of their job, and removes a tedious annoyance.
We have a program that dumps data to excel, and the room names for what we designed and priced for our clients are in individual columns. Our program allows us to put a date at the end, but we can't put a return in front of it prior to coming to excel. The customers want this date on its own line so that it's easier for them to see when the room was last modified, but they don't want us to increase the cell width to achieve this. A sample room name would be "STANDARD KITCHEN- ISLAND- 2019-10-09". We occationally run into instances where the designer/quoter will forget to leave a space between the room name and the date, so the date won't always go to its own line even if there was space because it's tied to a previous string.
The easiest solution is a macro to do what we are doing by hand, but I don't know how to find a date string within a cell and always return before the first number in that string.
Any help anyone can provide would be greatly appreciated.
Thanks,