Hi ,
I am creating a model which will allow me to paste reports in and the model will churn out the desired results. My problem is that the reports are in PDF and when converting to excel it throws up all sorts of formatting problems.
The guys on this forum have been a massive help in a few other posts (for which I am very grateful for) and I have a new requirement I need some help with.
On the attached I have highlighted formatting errors which I need a macro to correct for me to give me a clean report in excel. There are rules I think I could use to correct it but being VBA I do not know how to achieve this (or even follow some of the codes ive read online).
What I require is:
• All cells to be unmerged
• Then if a number is found in column A (from row 10 downwards) strip out the number element and then move this to column B (I do not need a cell to be inserted as it should already be there due to unmerging the cells).
• Then, for each “Sub Total” in Column A found I need it to clear the row B:D and then sum the rows above it until it reaches the previous subtotal.
• Finally, if the cells contains “Net Settlement” then I would need it to sum all the rows which contain SubTotal (above).
I realise this is a lot so even if some can be provided it gives me a chance to start and then I can go off googling for solutions - I expect ill be doing this all night/weekend!
Bookmarks