I made a simple Excel sheet that people in my department use to send out our weekly bid list, but have found that people keep tampering with the source data (an exported file from Smartsheet's where are bid list is normally maintained) and it keeps messing up my code since I have row and column values hardcoded.
What would be the proper way to search the first row and return the column number when a specific string is found? The searched for value will always be a text string that will never change (I have that aspect locked in the source file) but its position is subject to change. I have been bouncing between way too many languages and applications to keep things straight and its been awhile since I have coded in excel.
So essentially, search row 1 for text string and return column.:
What would be the proper way to search the first row and return the column number when a specific string is found? The searched for value will always be a text string that will never change (I have that aspect locked in the source file) but its position is subject to change. I have been bouncing between way too many languages and applications to keep things straight and its been awhile since I have coded in excel.
So essentially, search row 1 for text string and return column.: