Hi, Im quite new to excel and VBA but i somehow managed to churn out a program that automates the process of generating a summary.
what its supposed to do is generate a summary for each sheet and then generate and overall summary in the summary sheet.
this all works fine.. except when i try to merge similar cells in the main summary sheet it gives me a 1004 error. which i just cant understand.
Heres the code:
The section ive commented out is the section that creates the problem. The first Range function of that generates the 1004 error.
heres a test file
BOQ macro template.xlsm
the code is bound to the "Generate" button in the second sheet..
any help is greatly appreciated
thanks
Bookmarks