this macro works perfect, but does not finish creating??
If a c is in col O macro should create a new sheet.
If P is col O it prints.
The only problem is when I try to create a big list. It doesn't finish.
Any Ideas.
this macro works perfect, but does not finish creating??
If a c is in col O macro should create a new sheet.
If P is col O it prints.
The only problem is when I try to create a big list. It doesn't finish.
Any Ideas.
Hello erock24,
How big of list are you referring to? What error message and number to you get or does the program freeze?
Thanks,
Leith Ross
See if this works for you:![]()
Please Login or Register to view this content.
I edited code with your change, it works but I loose my print options.
I need to have those new sheets print to 1 page.
I added code I thought would do it but it doesn't. What have I done wrong??
![]()
Please Login or Register to view this content.
It doesn't freeze it just doesn't produce all the sheets it should.How big of list are you referring to? What error message and number to you get or does the program freeze?
Ikaabod's edit fixed that problem, but now I have a print set up issue. i guess since the copy method is different. I don't really know why Ikaabod's edit works.
Excel (2003) seems to not like copying an entire sheet to the end of a workbook with "x" amount of worksheets (somewhere around 40). I tried doing this manually and it still wasn't allowing me to.
To avoid that I changed the code so it creates a new worksheet, then copy/paste's the template invoice into the newly created sheet and rename's the worksheet.
I can take a look at the printing problem.
EDIT: Try this![]()
Please Login or Register to view this content.
Last edited by Ikaabod; 11-29-2007 at 05:56 PM. Reason: Added code for printing to one page
And that's amazing.
Works perfectly Thank you very much for your time and help.
You're quite welcome. I'm glad I was able to help.
All the best,
Ik
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks