Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-25-2023, 11:29 AM
MartinGM MartinGM is offline Macros have disappeared ? Windows 11 Macros have disappeared ? Office 2021
Advanced Beginner
Macros have disappeared ?
 
Join Date: May 2023
Location: England
Posts: 66
MartinGM is on a distinguished road
Default Macros have disappeared ?

Happy Christmas !

I wonder if anyone has any clues to this odd behavious in Excel 365, please ?

My Excel installation seems to be fine - several complex Workbooks with many macros are working just fine.

One, though, is not. Here are the symptoms . . .

1. Macros assigned to text-box buttons work as expected


2. Macros assigned to Worksheet code eg Private Sub Worksheet_Change(ByVal Target As Range) are not being triggered
3. When I go to the list of Macros using the button on the Developer tab, none are visible and all the options in the dialog which opens are greyed out.
4. When I open the VBA environment using ALT F11 and go to Tools . . . Macros . . . I get error Unexected error (35005).
5. However if I go to Project Explorer, the Macros are visible as usual in Module1

Grateful for any ideas where to start looking for the problem.

Thanks

Last edited by MartinGM; 12-26-2023 at 09:13 AM.
Reply With Quote
  #2  
Old 12-25-2023, 02:02 PM
Alansidman's Avatar
Alansidman Alansidman is offline Macros have disappeared ? Windows 11 Macros have disappeared ? Office 2021
עַם יִשְׂרָאֵל חַי
 
Join Date: Apr 2019
Location: Steamboat Springs
Posts: 79
Alansidman will become famous soon enoughAlansidman will become famous soon enough
Default

Have you allowed Macros in your set up. Go to File Account Options Trust Center Allow Macros
Reply With Quote
  #3  
Old 12-26-2023, 09:15 AM
MartinGM MartinGM is offline Macros have disappeared ? Windows 11 Macros have disappeared ? Office 2021
Advanced Beginner
Macros have disappeared ?
 
Join Date: May 2023
Location: England
Posts: 66
MartinGM is on a distinguished road
Default

Good thought Alan, thank you. Sadly Macros are allowed
Reply With Quote
  #4  
Old 12-27-2023, 04:33 AM
MartinGM MartinGM is offline Macros have disappeared ? Windows 11 Macros have disappeared ? Office 2021
Advanced Beginner
Macros have disappeared ?
 
Join Date: May 2023
Location: England
Posts: 66
MartinGM is on a distinguished road
Default

I've recreated the Workbook. All's well.
The old one must have been corrupt - no idea how that happened !
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
My post disappeared zpy2 Forum Support 8 11-24-2023 06:13 PM
Word has 'disappeared' from my PC FredAstairesChair Word 6 10-20-2021 06:05 AM
Disappeared list DIMI Excel Programming 2 12-13-2019 07:00 AM
Categories disappeared? markg2 Outlook 1 08-02-2010 03:24 PM
Look in box disappeared. Please help! padbon PowerPoint 0 12-21-2009 02:09 PM

Other Forums: Access Forums

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