I have searched through the website and even Bill Jelen's book, but I still cannot find the answer as to how to write the code to find the last column with data in it. I have tried defining a range as seen below, but it's still not working. Any suggestions?
finalcolumn = Cells(1, Columns.Count).End(xlToLeft).Column
finalcolumn = Cells(1, Columns.Count).End(xlToLeft).Column