|
-
May 11th, 2004, 04:45 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Getting "Book1" back !
As I test my app I sometimes end up in the situation where the default Excel workbook becomes "Book 2" or "Book 3" etc.
I presume this is due to Excel not finishingly cleanly ... fine .. I will sort that out.
But after killing off all Excel processes in Task Manager, I still have "Book 2" as my default workbook when I start Excel.
I'm presuming that this value is held in the registry somewhere.
Can anyone tell me if this is true, or how to get "Book 1" back as my default workbook on startup.
I know rebooting my PC will sort my problem out, but thats a pain in the a*s as I have loads of stuff open and this PC takes AGES to reboot !
Thanks in advance ....
Last edited by TheBionicOrange; May 12th, 2004 at 07:15 AM.
-
May 11th, 2004, 11:05 AM
#2
If you go to the registry using Regedit.exe and navigate to the hive -
"HKEY_CURRENT_USER\Software\Microsoft\Office\xx.0\Excel" you
will find a key (MTTT) that only appears when Excel is running.
This may contain the information you need to modify if your
system is not releasing the data on the close of excel.
HTH
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 11th, 2004, 11:08 AM
#3
Ok, just confirmed that when another instance of Excel is started
another length of binary data is added the the MTTT key.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 12th, 2004, 07:14 AM
#4
Thread Starter
Frenzied Member
Cheers Rob ... I'll look into that
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|