Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to create pivot table from large data file
I need to automate the creation of a pivot table from a csv file. I create the pivot table once a week, and the number of records in the csv file increases each time. I have not had much success in creating a macro that includes a statement to go to the end of the data to accomodate the increased number of rows. Can anyone assist with the correct vba statement? -- johnson748r ------------------------------------------------------------------------ johnson748r's Profile: http://www.excelforum.com/member.php...o&userid=37093 View this thread: http://www.excelforum.com/showthread...hreadid=569689 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to create pivot table from large data file
Here is one good way to find the last row with data in it:
LastRow = Cells.Find(What:="*", After:=[A1], _ SearchOrder:=xlByRows, _ SearchDirection:=xlPrevious).Row HTH Charles_Chickering "johnson748r" wrote in message ... I need to automate the creation of a pivot table from a csv file. I create the pivot table once a week, and the number of records in the csv file increases each time. I have not had much success in creating a macro that includes a statement to go to the end of the data to accomodate the increased number of rows. Can anyone assist with the correct vba statement? -- johnson748r ------------------------------------------------------------------------ johnson748r's Profile: http://www.excelforum.com/member.php...o&userid=37093 View this thread: http://www.excelforum.com/showthread...hreadid=569689 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I create one column (stacked) from a large table of data.. | Excel Worksheet Functions | |||
Pivot Table - Create new file with ONLY certain data - Excel 2003 | Excel Worksheet Functions | |||
large data file problems - pivot table with vba | Excel Programming | |||
large data file problems - pivot table with vba | Excel Programming | |||
calculations in large data set and in pivot table | Excel Programming |