cjvenables
Board Regular
- Joined
- Aug 2, 2011
- Messages
- 65
Hello,
I am looking for a Macro that will take the name of the worksheet (off the tab), add it after the last column of data, autofill to the last row, and then merge all sheets to a new sheet in the workbook (the exisiting workbook).
I have a bunch of different contracts on different sheets for 1 customer. For example, if the last column of data is in column J in the sheet, I want to add the name of the worksheet to column K, and then autofill all the way down to the last row of data. Some sheets may have more columns than others, as well as more rows than others, so I need the ranges to be flexible.
Since the customers obviously have different names, as well as the contracts, everything has to be generic.
Hope this is enough information. If not, let me know and I will happily clarify where needed.
Thanks guys!
I am looking for a Macro that will take the name of the worksheet (off the tab), add it after the last column of data, autofill to the last row, and then merge all sheets to a new sheet in the workbook (the exisiting workbook).
I have a bunch of different contracts on different sheets for 1 customer. For example, if the last column of data is in column J in the sheet, I want to add the name of the worksheet to column K, and then autofill all the way down to the last row of data. Some sheets may have more columns than others, as well as more rows than others, so I need the ranges to be flexible.
Since the customers obviously have different names, as well as the contracts, everything has to be generic.
Hope this is enough information. If not, let me know and I will happily clarify where needed.
Thanks guys!