Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-16-2016, 09:12 PM
gmayor's Avatar
gmayor gmayor is offline Outlook / Excel Integration Windows 10 Outlook / Excel Integration Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,143
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote
  #2  
Old 10-17-2016, 05:00 PM
chaddres chaddres is offline Outlook / Excel Integration Windows 10 Outlook / Excel Integration Office 2016
Novice
Outlook / Excel Integration
 
Join Date: Oct 2016
Posts: 4
chaddres is on a distinguished road
Default

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!
Reply With Quote
Reply



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
Outlook / Excel Integration Integration of Word and Excel stephen_pen Mail Merge 1 09-26-2011 04:53 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft