Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8306877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:25:02+00:00 2026-06-08T18:25:02+00:00

How would you delete your own vba project without a trace on a network?

  • 0

How would you delete your own vba project without a trace on a network?
I don’t know so I can’t provide any code.
This is a purely informative question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:25:04+00:00Added an answer on June 8, 2026 at 6:25 pm

    Your question has 2 parts

    1. How would you delete your own vba project
    2. Without a trace on a network

    Note: I am taking the example of Excel VBA. Please navigate the menu accordingly and change the code accordingly.

    PART 1

    You can delete your own VBA project if Trust Access To Visual Basics Project is enabled.

    To enable Trust Access To Visual Basics Project, do this

    EXCEL 2003 (doing this from memory)

    Click on Tools | Macro | Security | Trusted Sources and then click on Trust access to the VBA project object model

    EXCEL 2007 (doing this from memory)

    Click on Office Button | Excel Options | Trust Center | Trust Center Settings | Macro Settings and click on Trust access to the VBA project object model

    EXCEL 2010

    Go to File Tab | Options | Trust Center | Trust Center Settings | Macro Settings and click on Trust access to the VBA project object model

    CODE

    Option Explicit
    
    Sub DeleteVBAPROJECT()
        Dim i As Long
    
        On Error Resume Next
        With ThisWorkbook.VBProject
            For i = .VBComponents.Count To 1 Step -1
                .VBComponents.Remove .VBComponents(i)
                .VBComponents(i).CodeModule.DeleteLines _
                1, .VBComponents(i).CodeModule.CountOfLines
            Next i
        End With
        On Error GoTo 0
        ThisWorkbook.Save
    End Sub
    

    PART 2

    I am not sure what do you mean by this.

    If you mean is the IP recorded then I don’t think so (I could be wrong here though)

    If you mean the username is recorded of the user who last opened the file then yes it is recorded provided a username is fed into the system.

    If you mean File properties like when the file was modified will be recorded then yes it will be recorded

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like delete the title of my popup JavaScrip but i don't know
I would really like your help in knowing the procedure to delete a .3gp
Can someone give me an example of how I would delete a row in
I would like to know the best way to delete records from a live
At first my table view is empty, and then you can add your own
I would like to delete the commit 9dfd73, the one highlighted. As you can
I am trying to make a schedule table that would delete certain rows according
How would I delete a directory in a .zip and all the files in
I would like to delete the space between lines in a text file using
I would like to delete all the rows found by that query: SELECT cart_abandon.*

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.