Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-10-2018, 10:08 AM
Logit Logit is offline Can't get Macro to work in This Workbook Windows 10 Can't get Macro to work in This Workbook Office 2007
Expert
 
Join Date: Jan 2017
Posts: 591
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

Place your entire macro into a Routine Module (not in ThisWorkbook).

In ThisWorkbook paste this :

Code:
Option Explicit

Private Sub Workbook_Open()
    uploadmaster
End Sub
That will run the macro each time the workbook is opened.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get Macro to work in This Workbook One macro to sort individual sheets in a workbook darbybrown Excel Programming 1 09-11-2016 12:51 PM
Spell check macro within macro button field doesn't work in one document samuelle Word VBA 0 07-20-2016 02:27 AM
Personal Macro Workbook Does Not Load WRowan Excel 1 06-23-2016 08:26 AM
How do I assign a macro to a button when the macro is in my personal workbook? foolios Excel Programming 2 07-27-2011 02:41 PM
Can't get Macro to work in This Workbook macro to transfer data from one workbook to another workbook virsojour Excel Programming 5 02-01-2011 08:58 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:19 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