+ Reply to Thread
Results 1 to 2 of 2

Can't Open/See/Show Code Window

  1. #1
    Registered User
    Join Date
    01-05-2021
    Location
    US
    MS-Off Ver
    16
    Posts
    6

    Can't Open/See/Show Code Window

    I've got a workbook that won't let me open any code windows for any worksheet or the workbook. In normal workbooks it will open a blank code window if there's nothing there, but this doesn't open a code window at all. I am unable to insert a module or any other code, and when I try it freezes Excel and I have to force quit. I've never encountered this problem before and haven't found anything about it online. A screen shot of the IDE is attached.
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Can't Open/See/Show Code Window

    If it's an older file, could it be a 'Shared Workbook'? Code can't be viewed in those.
    Look on the Review tab, in the Protect section. If there's a button labelled 'Unshare Workbook' then it's Shared.
    Information on how to turn it off is at the bottom of this page: https://support.microsoft.com/en-gb/...2-c1c59a628534
    (that page also has a link on how to access this if your version of Excel doesn't have the Un/Share Workbook button - which newer versions don't have, because it's been replaced by 'co-authoring' instead.

    That's all I can think of, I'm afraid.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

+ 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] VBA Code doesn't run unless the VB editor window is also open
    By bsrivatsa in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-05-2020, 01:46 PM
  2. [SOLVED] VBA Code to check if a folder window is open?
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-10-2014, 12:59 PM
  3. [SOLVED] How to show both Project Explorer and Code window in the VB window?
    By m3atball in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2014, 07:22 PM
  4. Can't open my workbook with the vba code window opening
    By rjrbsn in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-01-2012, 03:36 PM
  5. VBA code to open and execute files from different directories in Command window
    By AlexXYZ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-27-2012, 01:49 PM
  6. VBA code to check if another window is open?
    By jweasl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2006, 01:35 PM
  7. [SOLVED] Can't open VBA-Code Window
    By Christoph Dümmen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-07-2006, 12:10 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