Results 1 to 3 of 3

Thread: Excel VBA - Attach toolbar to template

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2004
    Location
    Israel
    Posts
    54

    Excel VBA - Attach toolbar to template

    Hi.

    I have created a workbook with some source which i would like to oprate as a template.
    I want a toolbar to be attched to the template and:
    1. will be displayed only when a workbook based on this template opened.
    2. the buttons stay attached to the template (they "follow" the last workbook i open )

    Thanks.

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    Luton, UK
    Posts
    178
    Try manually Tools/Customize then Attach.
    Regards
    BrianB
    -------------------------------

  3. #3
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863
    If you have code to "make" this tolbar, put it in the Workbook_auto_open Event (not sue of the correct name).
    To hide it, you have to use code inthe Close_workbook event.

    Watch it, if you use several workbooks having these codelines (the first to close would hide the toolbar).
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width