![]() |
|
|
|
#1
|
||||
|
||||
|
I lost the will to live halfway through your code
but it seems that you are altering an existing worksheet to create a new one. Why not simply start with a new blank one? In any case it would be better not to open the existing workbook, but to create a new one from it. That would be at least the ideal starting point. You can change the macro I posted code not to open the workbook, but to add a workbook using it as a template. That workbook will be unnamed, so you will need to save it before closing it. I'll take you at your Word that your macro does what you want (it crashes here as I don't have your workbook), but note that you do not need to select ranges/cells in order to process them. Call the macro with the command (e.g.) Code:
xlApp.Run "PERSONAL.XLSB!FleetMatics"
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
#2
|
|||
|
|||
|
I wish I knew enough to understand what you're saying, but I don't. Is there a way to just insert my current code (that I know works) into your code? I just usually do "record macro" and then get the code I need. I just am not knowledgeable to do anything else.
I do appreciate your help! A LOT! |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PP and Excel integration | ShayA | PowerPoint | 0 | 07-01-2016 01:37 AM |
| Onenote 2016 integration with Outlook 2007 | killernils | OneNote | 0 | 01-28-2016 03:03 AM |
| Powerpoint Integration | Trek-Fan | PowerPoint | 0 | 07-24-2014 07:24 AM |
| Lync / Outlook integration | kneghx | Misc | 0 | 04-18-2014 07:35 AM |
Integration of Word and Excel
|
stephen_pen | Mail Merge | 1 | 09-26-2011 04:53 AM |