+ Reply to Thread
Results 1 to 4 of 4

"Turn off" an xla add-in at beginning of code

Hybrid View

  1. #1
    BEEJAY
    Guest

    "Turn off" an xla add-in at beginning of code

    I have a "Visual_Protect_Indicator" add-in which I think is greatly slowing
    down the code I am currently working on. This add-in works on the Protection
    Menu Bar - It gives me a visual indication when my sheets and/or workbook is
    in Protection Mode.

    When I step thru my new project, it keeps switching over and walking thru
    the "indicator" add-in.
    Is there some code I can put in at the beginning of my current project that
    will
    "dis-able" that xla for the duration, then "en-able" it at the end of the
    process?

    Thanks

  2. #2
    Chip Pearson
    Guest

    Re: "Turn off" an xla add-in at beginning of code

    I don't believe what you want to do is possible.


    "BEEJAY" <[email protected]> wrote in message
    news:[email protected]...
    >I have a "Visual_Protect_Indicator" add-in which I think is
    >greatly slowing
    > down the code I am currently working on. This add-in works on
    > the Protection
    > Menu Bar - It gives me a visual indication when my sheets
    > and/or workbook is
    > in Protection Mode.
    >
    > When I step thru my new project, it keeps switching over and
    > walking thru
    > the "indicator" add-in.
    > Is there some code I can put in at the beginning of my current
    > project that
    > will
    > "dis-able" that xla for the duration, then "en-able" it at the
    > end of the
    > process?
    >
    > Thanks




  3. #3
    Dave Peterson
    Guest

    Re: "Turn off" an xla add-in at beginning of code

    Maybe you could just close the file, do your stuff and reopen the file.

    sub aaa()
    workbooks("Visual_Protect_Indicator.xla").close savechanges:=false
    'your code
    workbooks.open("yourpathtothatfile\Visual_Protect_Indicator.xla").open
    end sub




    BEEJAY wrote:
    >
    > I have a "Visual_Protect_Indicator" add-in which I think is greatly slowing
    > down the code I am currently working on. This add-in works on the Protection
    > Menu Bar - It gives me a visual indication when my sheets and/or workbook is
    > in Protection Mode.
    >
    > When I step thru my new project, it keeps switching over and walking thru
    > the "indicator" add-in.
    > Is there some code I can put in at the beginning of my current project that
    > will
    > "dis-able" that xla for the duration, then "en-able" it at the end of the
    > process?
    >
    > Thanks


    --

    Dave Peterson

  4. #4
    Dave Peterson
    Guest

    Re: "Turn off" an xla add-in at beginning of code

    Watch for typos!

    sub aaa()
    workbooks("Visual_Protect_Indicator.xla").close savechanges:=false
    'your code
    workbooks.open("yourpathtothatfile\Visual_Protect_Indicator.xla")
    end sub

    Dave Peterson wrote:
    >
    > Maybe you could just close the file, do your stuff and reopen the file.
    >
    > sub aaa()
    > workbooks("Visual_Protect_Indicator.xla").close savechanges:=false
    > 'your code
    > workbooks.open("yourpathtothatfile\Visual_Protect_Indicator.xla").open
    > end sub
    >
    > BEEJAY wrote:
    > >
    > > I have a "Visual_Protect_Indicator" add-in which I think is greatly slowing
    > > down the code I am currently working on. This add-in works on the Protection
    > > Menu Bar - It gives me a visual indication when my sheets and/or workbook is
    > > in Protection Mode.
    > >
    > > When I step thru my new project, it keeps switching over and walking thru
    > > the "indicator" add-in.
    > > Is there some code I can put in at the beginning of my current project that
    > > will
    > > "dis-able" that xla for the duration, then "en-able" it at the end of the
    > > process?
    > >
    > > Thanks

    >
    > --
    >
    > Dave Peterson


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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