Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-03-2018, 08:48 PM
Marcia's Avatar
Marcia Marcia is offline Adding another macro in the macro list Windows 7 32bit Adding another macro in the macro list Office 2007
Expert
Adding another macro in the macro list
 
Join Date: May 2018
Location: Philippines
Posts: 553
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default Adding another macro in the macro list

I copied the codes of highlighting the current row and column from a post in 2013 by Pecoflyer and pasted it in module 2 of a workbook containing a macro in Module 1, but when I executed the Module 2 macro, only the Module 1 macro is on the Macro list. How do I add Module 2 macro in the list? The macro in module 1 applies only to the current sheet but the macro in module 2 should run in all sheets of the workbook. I'm sorry I keep on repeating macro because I don't know any other term for it.




The code that I copied started with this line:


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a function to this macro: JohnGanymede Excel Programming 6 12-22-2017 02:57 PM
Adding another macro in the macro list Adding to a macro Ulodesk Word VBA 4 03-07-2016 01:40 PM
Adding another macro in the macro list VBA Code for adding Macro to QAT OTPM Project 4 08-22-2013 01:33 PM
Adding another macro in the macro list Adding macro to normal.dotm programmatically etippelt Word VBA 6 04-08-2013 05:55 PM
Macro for automatically adding filename without .doc RPM7 Word VBA 0 04-29-2010 01:43 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:19 PM.


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