+ Reply to Thread
Results 1 to 12 of 12

VBA Project Explorer not working

  1. #1
    Registered User
    Join Date
    09-20-2023
    Location
    Auckland, New Zealand
    MS-Off Ver
    Home & Student 2019
    Posts
    6

    VBA Project Explorer not working

    I am trying to view the VBA code in a workbook with worksheets that contain user-defined functions, as follows :
    Click on the Visual Basic button on the Developer tab - this opens the VBA Editor but only shows sub-windows with the code of two macros that I created myself, both in the PERSONAL.XLSB file. No VBA modules associated with the user-defined functions are shown.
    Then click on View / Project Explorer - and nothing happens. The Project Explorer window does not open.
    I can access the Project Explorer window OK when opening the workbook on two other machines so it must be something to do with my desktop PC.
    Windows 10 64 bit, 64 bit version of Office Home & Student 2019.
    Uninstalled, rebooted, then re-installed Office. Same result.
    Anyone got any ideas ? Any help much appreciated.
    Thanks,
    Emile.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,372

    Re: VBA Project Explorer not working

    Are the UDFs by any chance defined as named ranges? Have a look unde Formulas > Name Manager to rule this out.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-20-2023
    Location
    Auckland, New Zealand
    MS-Off Ver
    Home & Student 2019
    Posts
    6

    Re: VBA Project Explorer not working

    Thanks for your reply !
    The Name Manager only contains three Print Areas (the workbook contains three worksheets).

    Cheers,
    Emile.
    Last edited by AliGW; 09-20-2023 at 03:43 AM. Reason: Please do NOT quote unnecessarily! Use the QUICK REPLY button instead.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,372

    Re: VBA Project Explorer not working

    So presumably the UDFs are not working? Was the worksheet they are on copied from another workbook?

  5. #5
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,234

    Re: VBA Project Explorer not working

    You can try the following steps to reset the windows layout manually:

    - Close all open instances of Excel.
    - Press Windows key + R to open the Run dialog box.
    - Type %APPDATA%\Microsoft\Excel and press Enter.
    - Locate the file named Excel15.xlb or Excel16.xlb and rename it to Excel15.old or Excel16.old.
    - Restart Excel.
    A new Excel1x.xlb file will be automatically created with the default settings of the VBA editor bar and windows.

    If there is still no improvement, consider whether the 64-bit version of Office is necessary for you. If not, install the 32-bit version.

    By the way, uninstalling Office does not guarantee the removal of all "junk" that may affect the next installation of the suite. Some Registry entries still remain. You need to use a tool to remove unnecessary entries in the Registry.

    Artik

  6. #6
    Registered User
    Join Date
    09-20-2023
    Location
    Auckland, New Zealand
    MS-Off Ver
    Home & Student 2019
    Posts
    6

    Re: VBA Project Explorer not working

    Quote Originally Posted by AliGW View Post
    So presumably the UDFs are not working? Was the worksheet they are on copied from another workbook?
    The UDFs are actually working, it's just that I can't access their VBA code. Yes I believe the worksheet they are on came from another workbook.
    Cheers,
    Emile.

  7. #7
    Registered User
    Join Date
    09-20-2023
    Location
    Auckland, New Zealand
    MS-Off Ver
    Home & Student 2019
    Posts
    6

    Re: VBA Project Explorer not working

    Thanks ever so much Artik. It's almost bedtime here in New Zealand, but I will check this out tomorrow morning

  8. #8
    Registered User
    Join Date
    09-20-2023
    Location
    Auckland, New Zealand
    MS-Off Ver
    Home & Student 2019
    Posts
    6

    Re: VBA Project Explorer not working

    Quote Originally Posted by Artik View Post
    You can try the following steps to reset the windows layout manually:

    - Close all open instances of Excel.
    - Press Windows key + R to open the Run dialog box.
    - Type %APPDATA%\Microsoft\Excel and press Enter.
    - Locate the file named Excel15.xlb or Excel16.xlb and rename it to Excel15.old or Excel16.old.
    - Restart Excel.
    A new Excel1x.xlb file will be automatically created with the default settings of the VBA editor bar and windows.

    If there is still no improvement, consider whether the 64-bit version of Office is necessary for you. If not, install the 32-bit version.

    By the way, uninstalling Office does not guarantee the removal of all "junk" that may affect the next installation of the suite. Some Registry entries still remain. You need to use a tool to remove unnecessary entries in the Registry.

    Artik
    Many thanks again for your suggestions.
    I renamed the file Excel15.xlb, then restarted Excel. Problem remained.
    I then uninstalled MS Office altogether using Microsoft's SaRA and removed all Office related keys in the registry that I could find.
    Re-installed Office 2019 32 bit from my Microsoft account.
    Unfortunately, I still can't get VBA Project Explorer to open.
    I have spent hours on this to no avail, so I'm going to have to give up

  9. #9
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,234

    Re: VBA Project Explorer not working

    I sympathize, you are really very unlucky. You can do the uninstallation of Office with SaRA. But cleaning the registry should be done with a specialized tool. You are unlikely to be able to remove all the right keys yourself. There are many programs for cleaning the Registry, and probably the best known is CCleaner. Registry cleaning should be done after uninstalling Office and rebooting the system.
    Before you get desperate and throw your computer away, try putting Windows back up. But such an installation from scratch, nothing by shortcuts.

    Artik

  10. #10
    Registered User
    Join Date
    09-20-2023
    Location
    Auckland, New Zealand
    MS-Off Ver
    Home & Student 2019
    Posts
    6

    Re: VBA Project Explorer not working

    Quote Originally Posted by Artik View Post
    I sympathize, you are really very unlucky. You can do the uninstallation of Office with SaRA. But cleaning the registry should be done with a specialized tool. You are unlikely to be able to remove all the right keys yourself. There are many programs for cleaning the Registry, and probably the best known is CCleaner. Registry cleaning should be done after uninstalling Office and rebooting the system.
    Before you get desperate and throw your computer away, try putting Windows back up. But such an installation from scratch, nothing by shortcuts.

    Artik
    Hi Artik, after reading your post I did another uninstall with MSSaRA, reboot, then ran CCleaner, another reboot, then re-installed 32 bit Office again. Unfortunately the issue persists. Many thanks for your advice. Starting from scratch with Windows 10 is not an option for me at this stage.

  11. #11
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,234

    Re: VBA Project Explorer not working

    I've run out of ideas. This is "black September" for you. You will probably remember it for a long time.

    Artik

  12. #12
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,257

    Re: VBA Project Explorer not working

    Do you have the project explorer set to dock under Tools - Options on the Docking tab in the VBE?
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Personal.xlsx project inside my project explorer of VBE editor
    By lastnn30 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2021, 12:31 PM
  2. Ghost project does not go away from the VBA project explorer after closing the workbook
    By Roshan.Shakya in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2019, 09:35 AM
  3. Changes in the Project Explorer window?
    By sjahlq in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-07-2014, 05:28 AM
  4. VBA Project and Modules Remain in Project Explorer after workbook closed
    By avr5iron in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 03-09-2012, 11:38 AM
  5. project explorer all over the place
    By martindwilson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2011, 04:35 PM
  6. Using folders in the VBA Project Explorer
    By BigBas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-18-2008, 04:42 PM
  7. [SOLVED] VBA Project Explorer list
    By Philip Reece-Heal in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-15-2005, 02:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1