ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   need error loop in pivot table routine (https://www.excelbanter.com/excel-discussion-misc-queries/189207-need-error-loop-pivot-table-routine.html)

Jeff C

need error loop in pivot table routine
 
When generating pivot tables with VBA, if the loop hits a record with no data
the routine stops with the "This command requires two rows of data . . ."
error.

Can someone suggest a VBA solution so the routine will skip this record
moving on to the next?

Thanks in advance




--
Jeff C
Live Well .. Be Happy In All You Do


All times are GMT +1. The time now is 03:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com