Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2016, 09:39 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,144
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

You have a macro called FleetMatics stored somewhere. Call it with a command line similar to that in my previous message (which assumed it was in the global personal workbook). You can record a macro running the macro to get the part of the command line in quotes.



You cannot simply insert Excel code into the Outlook macro. It is not compatible. You should however be able to run it from Excel using the command line above.

Without access to the Master workbook it is all a bit vague, but looking at it, I would have thought that you should add the command line either immediately after the line
Code:
Set xlSheet = xlWb.sheets(1)
if you want it to prepare the sheet to take the CSV data, or immediately before the line :
Code:
xlWb.Close SaveChanges:=True
to process the sheet after the data is added.

Just make sure yolu have a backup copy of your Master workbook.
__________________
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
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 09:16 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