Hello,
I am working in Access to export a query to Excel. The number of records varies depending on the parameters selected. If there are more than 1000 records I would like to highlight alternating blocks of 1000 records. I sort of have it working, but not quite the way I would like it. Although I understand the problem, my VBA skills aren't particularly great and I'm having trouble figuring out how to fix my issue.
The problem is that the last block is unlikely to have exactly 1000 records in it, but it's set to highlight 1000 so I need it to look at the selection and only highlight the number of filled cells. The second is that because it alternates colours it also continues 1 block of 1000 past empty cells.
Any help is greatly appreciated!!
----------------------
![]()
Please Login or Register to view this content.
Bookmarks