Hi Guys
First of all I'll hi, new here, been lurking a fair bit lately :-)
I'm working on a couple of macros at the moment and could do with some input regarding a specific issue, it seems simply but is probably complicated. (I'm not on my work comp right now so I'll try and be as concise as I can without being able to upload an example for now).
I have a sheet which using an edited version of this: http://www.rondebruin.nl/win/s5/pdf.htm I'm using to produce and send customer statements. I have this working perfectly.
The statement itself populates based on a pivot table, (filtering by customer name brings up a list of invoices, which I use to lookup against for the rest of the date I need).
What I'm trying to do is have a separate macro do the following
Select the pivot-filter > select the first customer > run aforementioned macro > select the next customer & loop until the end of the list.
Whenever I try and record something to get an idea how to do it, the customer name section is hardcoded text i.e "customer abcd". Anyhelp would be greatly appreciated, I've been searching but everything i find seems overly complicated and not really what i'm after. If I can this working it will probably shave a couple of DAYs of my working month!
TLDL: i need a VBA to loop through a pivot table filter running a separate macro for each entry.
Bookmarks