LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Editing Code from Code

I have addin i load automatically and start in code, but i only want to
load the addins a some execl sheet on all, The reason i can have the
addin loading all the time is the addins is licence based and has
licence server.

I want to add code into the each execl sheet that requires the addin to
be loaded.

Private Sub Workbook_Open()

Run ("MyAdd")

End Sub

We have hunderds of excel sheets and about small fraction requires this
add. Can i copy the lines of code about to the start of execl sheets.
The users that use this addin also open execl and dont require the
addins and i dont what them using the addin.

At the moment i have a message asking each time a excel sheet loaded
(when that addin is enable) if the addin is to be loaded.

What i want to do is ask the user if the addin is required then copy
the lines of codes to currently opened workbook and never asked again.
I know i will have some work. Just need help on how to copy/write
lines of codes from the addin to the worksheet, that if it is possible

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help editing this code James Excel Discussion (Misc queries) 8 September 19th 08 05:18 PM
Editing VB Code with VB Simon Shaw Excel Programming 2 July 25th 05 07:41 PM
stubborn Excel crash when editing code with code, one solution Brian Murphy Excel Programming 0 February 20th 05 05:56 AM
editing code with code Jase Excel Programming 2 January 7th 04 11:40 AM
Code Editing Code Tom Ogilvy Excel Programming 0 September 25th 03 04:22 AM


All times are GMT +1. The time now is 04:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"