Beyond_avarice
Board Regular
- Joined
- Nov 13, 2012
- Messages
- 195
- Office Version
- 2007
- Platform
- Windows
Hello, I hope somebody can help me with a recent issue involving the import of text data.
Excel 2013 Professional Plus 32bit, Windows 7.
I have a workbook that I have scripted to import a General Ledger Detail, in CSV format, categorize the data and populate it out to about a dozen worksheets(within same workbook) that use pivot tables and other details to reconcile the account. The GL detail is typically between 4k-7k rows and 33 columns of data; every month. My worksheet is currently at 195k rows.
Typically the script will perform all of these actions in one minute. This month it appeared non-responsive and I suspected that the data or something within my script was causing an endless loop scenario. I attempted to run this script on a prior workbook and had no problems. I attempted to walk through the script and it would become nonresponsive, at the point of executing the text import. I attempted to do a manual text import and experienced the same problem. I performed a manual test with only ten rows of GL detail and the import took a minute. I attempted with 100 rows and it took about three minutes. I no longer suspect that my script is the issue.
The only immediate discernible difference between my current workbook and the prior is the file size. My current workbook is 57 mbs and the prior was 52mbs.
I find it hard to believe that a few mbs difference could be causing an issue with text import functions. My script clears out the Querytables and Connections after each import.
Has anyone experienced this or possibly know of a remedy? I don’t want to copy and paste and then go into the script to tell it where the append row is; every month.
Thank you
Excel 2013 Professional Plus 32bit, Windows 7.
I have a workbook that I have scripted to import a General Ledger Detail, in CSV format, categorize the data and populate it out to about a dozen worksheets(within same workbook) that use pivot tables and other details to reconcile the account. The GL detail is typically between 4k-7k rows and 33 columns of data; every month. My worksheet is currently at 195k rows.
Typically the script will perform all of these actions in one minute. This month it appeared non-responsive and I suspected that the data or something within my script was causing an endless loop scenario. I attempted to run this script on a prior workbook and had no problems. I attempted to walk through the script and it would become nonresponsive, at the point of executing the text import. I attempted to do a manual text import and experienced the same problem. I performed a manual test with only ten rows of GL detail and the import took a minute. I attempted with 100 rows and it took about three minutes. I no longer suspect that my script is the issue.
The only immediate discernible difference between my current workbook and the prior is the file size. My current workbook is 57 mbs and the prior was 52mbs.
I find it hard to believe that a few mbs difference could be causing an issue with text import functions. My script clears out the Querytables and Connections after each import.
Has anyone experienced this or possibly know of a remedy? I don’t want to copy and paste and then go into the script to tell it where the append row is; every month.
Thank you