Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2023, 01:16 PM
PencilPoint PencilPoint is offline Workbook opens on one PC but not another Windows 10 Workbook opens on one PC but not another Office 2021
Novice
Workbook opens on one PC but not another
 
Join Date: Dec 2023
Posts: 3
PencilPoint is on a distinguished road
Default Workbook opens on one PC but not another


I have a workbook (format .xlsm) that used to work fine on my computer, but now something has happened. When I try to open the workbook, it briefly opens, and then Excel closes. I went to my local public library, and on one of their computers, the same workbook opens and runs just fine. Are there any general things to check when a workbook opens one day but not the next? I have not installed any new software on my computer. Thanks.
Reply With Quote
  #2  
Old 12-19-2023, 03:05 PM
rollis13's Avatar
rollis13 rollis13 is offline Workbook opens on one PC but not another Windows 11 Workbook opens on one PC but not another Office 2016
Competent Performer
 
Join Date: Jan 2021
Location: Cordenons
Posts: 140
rollis13 will become famous soon enough
Default

Try starting your file in Safe Mode (select the file, hold down CTRL key then press Enter) and once opened debug your macros to find when and what closes your file. If present start from the WorkBook_Open (or Auto_Open) macro.
__________________
Difficult is not to know but to share what you know (Han Fei Tzu reworked)
Reply With Quote
  #3  
Old 12-20-2023, 08:33 AM
PencilPoint PencilPoint is offline Workbook opens on one PC but not another Windows 10 Workbook opens on one PC but not another Office 2021
Novice
Workbook opens on one PC but not another
 
Join Date: Dec 2023
Posts: 3
PencilPoint is on a distinguished road
Default

Quote:
Originally Posted by rollis13 View Post
Try starting your file in Safe Mode (select the file, hold down CTRL key then press Enter) and once opened debug your macros to find when and what closes your file. If present start from the WorkBook_Open (or Auto_Open) macro.
Thank you for your reply. I tried this but can't get it to work. The workbook briefly opens but the "busy circle" displays for several seconds and then Excel closes.
Reply With Quote
  #4  
Old 12-20-2023, 09:26 AM
rollis13's Avatar
rollis13 rollis13 is offline Workbook opens on one PC but not another Windows 11 Workbook opens on one PC but not another Office 2016
Competent Performer
 
Join Date: Jan 2021
Location: Cordenons
Posts: 140
rollis13 will become famous soon enough
Default

If you've successfully run Safe Mode, at this point, if it weren't for the fact that you said the file worked in a local public library PC, I'd say you have a corrupted file or that your Excel needs fixing.
Does this file contain sensitive data? how big is it ? can you attach it?
__________________
Difficult is not to know but to share what you know (Han Fei Tzu reworked)
Reply With Quote
  #5  
Old 12-20-2023, 11:52 AM
kilroyscarnival kilroyscarnival is offline Workbook opens on one PC but not another Windows 10 Workbook opens on one PC but not another Office 2021
Expert
 
Join Date: May 2019
Posts: 345
kilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nice
Default

Did you create the workbook on your own computer?

I thought at first maybe your security settings were high and it wasn't letting you run a macro-enabled workbook. But from memory, the message I got across the top was that the macros were blocked, so it wasn't that it wouldn't open the workbook.

Have you tried running the Repair tool on MS Office?
Reply With Quote
  #6  
Old 12-20-2023, 03:12 PM
PencilPoint PencilPoint is offline Workbook opens on one PC but not another Windows 10 Workbook opens on one PC but not another Office 2021
Novice
Workbook opens on one PC but not another
 
Join Date: Dec 2023
Posts: 3
PencilPoint is on a distinguished road
Default

Thanks for the replies. I would prefer not to attach the workbook here. I tried the Repair tool, but that did not help. I have another xlsm format workbook that will open and run just fine on my computer.
Reply With Quote
  #7  
Old 12-21-2023, 12:38 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Workbook opens on one PC but not another Windows 10 Workbook opens on one PC but not another Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Perhaps try saving it as xlsb on another computer and try running it on yours ?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a Outlook macro that opens a Excel Workbook bjornltd Outlook 0 07-03-2021 06:39 AM
How do I copy a workbook to another workbook and keep the formatting within the new workbook excelforsue Excel 3 09-15-2020 03:37 AM
Workbook Opens Slow from File Explorer RetiredCHE Excel 0 08-18-2017 12:13 PM
data entered in one workbook should be updated in other relevant workbook based on the date vedha Excel 0 04-24-2015 08:45 PM
Workbook opens on one PC but not another Run Code when Workbook opens gbaker Excel Programming 2 07-10-2012 10:41 AM

Other Forums: Access Forums

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


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