Share via

How to inactivate an active VBA code

Eldar Muradov 0 Reputation points
2026-05-08T17:37:47.9666667+00:00

I have a vba code that i created for one of the excel sheets that would autofill rest of the city name and state after I enter the first 3 letters of the city and press enter. Unfortunately, it is active across my whole Excel app, I deleted it, I has Microsoft office team access the computer as well, no one can fix it. Please help delete it and inactivate the code.

Microsoft 365 and Office | Excel | For home | Windows

1 answer

Sort by: Most helpful
  1. Senthil kumar 685 Reputation points
    2026-05-08T18:46:08.79+00:00

    Hi Eldar Muradov,

    Just set sheet name what you desired. then check condition to your VBA code sheet name should be the your desired name. then it will not execute any other sheets.

    Thanks.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.