Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2015, 12:58 PM
S3CRET S3CRET is offline How to execute .exe file after opening an Excel file? Windows 10 How to execute .exe file after opening an Excel file? Office 2016
Novice
How to execute .exe file after opening an Excel file?
 
Join Date: Nov 2015
Location: Matrix.
Posts: 1
S3CRET is on a distinguished road
Post How to execute .exe file after opening an Excel file?

Hello, as title says.
How to execute .exe file after opening an Excel file?
Via macro, visual basic, using Shell

Thanks for all answers!
Reply With Quote
  #2  
Old 11-07-2015, 03:07 PM
Debaser's Avatar
Debaser Debaser is offline How to execute .exe file after opening an Excel file? Windows 7 64bit How to execute .exe file after opening an Excel file? Office 2010 32bit
Competent Performer
 
Join Date: Oct 2015
Location: UK
Posts: 221
Debaser will become famous soon enough
Default

You seem to have answered your own question - use Shell in the Workbook_Open event.
Reply With Quote
  #3  
Old 11-08-2015, 12:33 AM
macropod's Avatar
macropod macropod is offline How to execute .exe file after opening an Excel file? Windows 7 64bit How to execute .exe file after opening an Excel file? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by S3CRET View Post
How to execute .exe file after opening an Excel file?
Via macro, visual basic, using Shell
Macros in Excel are written using VBA, which can employ the Shell command, which is what you need to run an exe file.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
excel macro, helpme

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to execute .exe file after opening an Excel file? Excel 2013 File Opening Arrgh Excel 1 05-07-2015 03:19 PM
How to execute .exe file after opening an Excel file? Opening a file in Excel Landscaper2009 Excel 9 10-06-2014 08:11 AM
'Another User' displaying when opening an excel file ITSupportJourneyman Excel 1 01-28-2014 06:15 PM
How to execute .exe file after opening an Excel file? Opening the CSV file in the Excel has two different appearances! Jamal NUMAN Excel 6 01-23-2012 12:55 PM
File gets hanged up while opening in excel 2007 nvsudheer Excel 6 06-11-2009 05:47 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:52 AM.


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