+ Reply to Thread
Results 1 to 6 of 6

A strange behavior in a VBA project

  1. #1
    Registered User
    Join Date
    09-27-2017
    Location
    Cles
    MS-Off Ver
    Office 2010
    Posts
    4

    A strange behavior in a VBA project

    Hi, suddenly I found macros that no longer worked. I went into the VBA editor and I found several multiplied sheets, it looks like the code is on one side and the object on the other, and the behavior of right click > view object is also anomalous. The icons also look anomalous (see attachment). Do you know if there is a method to rebuild the project's VBA hierarchy or reset the file structure to solve this strange behavior?

    Thanks
    Marco

    2021-02-23_095754.png

  2. #2
    Banned User!
    Join Date
    01-17-2021
    Location
    Omaha, NE
    MS-Off Ver
    office 2016
    Posts
    211

    Re: A strange behavior in a VBA project

    i have seen this before and if remember right other people had same issue many times too. i remember reading a lot about this and i did not find answer. i just thought i would mention that. but there are many articles written about this.

  3. #3
    Registered User
    Join Date
    09-27-2017
    Location
    Cles
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: A strange behavior in a VBA project

    The only answer I have had elsewhere so far has been you have to rebuild a new sheet

  4. #4
    Banned User!
    Join Date
    01-17-2021
    Location
    Omaha, NE
    MS-Off Ver
    office 2016
    Posts
    211

    Re: A strange behavior in a VBA project

    i would agree. you might as just well accept it as corruption. why you think so many technology jobs have high turnover? no answers. =( reality. no one wants to tell truth.

  5. #5
    Registered User
    Join Date
    09-27-2017
    Location
    Cles
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: A strange behavior in a VBA project

    I am really sorry that there is no way to fix, in this file there is 11 years of work and it will not be a quick job to copy and paste everything into a new file. Anyway thanks

  6. #6
    Registered User
    Join Date
    09-27-2017
    Location
    Cles
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: A strange behavior in a VBA project

    I solved it by making a copy of the file, saving the copy as xmlx thus deleting all the VBA part and then dragging the modules and copying and pasting all the code from the original file to the copy. Now everything seems in order and it was simpler than I imagined.
    Thanks

+ 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] AVERAGEIF strange behavior
    By sv3nster in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-05-2014, 08:47 PM
  2. strange calculation behavior
    By rokstedy in forum Excel General
    Replies: 9
    Last Post: 05-04-2011, 03:28 PM
  3. Strange Excel Behavior!
    By matrex in forum Excel General
    Replies: 1
    Last Post: 09-12-2008, 11:49 PM
  4. VBA - Strange behavior
    By MVM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2006, 02:50 PM
  5. [SOLVED] Strange TAB behavior
    By m davidson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2006, 01:15 PM
  6. [SOLVED] Strange behavior.
    By Wiley Coyote in forum Excel General
    Replies: 7
    Last Post: 10-18-2005, 12:05 PM
  7. [SOLVED] Strange VBE Behavior
    By Jeff Robson in forum Excel General
    Replies: 4
    Last Post: 01-14-2005, 07: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