Hi new to this forum and new to VBA, I have a macro that exports data to a spreadsheet in a CSV file and sometimes the data exceeds 65k which for MSoffice2003 cannot exceed that count. I need to be able to have the data viewed in excel so I want to be able to do a funtion in VBA that can calculate the data and add a new tab when >65. I have a primary key column that gives my data a uniqueness for the count but i dont know the code in VBA to perform this task. Thanks for any help that can be provided.