+ Reply to Thread
Results 1 to 2 of 2

ThisWorkbook Module Add-in

  1. #1
    Registered User
    Join Date
    10-09-2016
    Location
    New York
    MS-Off Ver
    2010
    Posts
    3

    ThisWorkbook Module Add-in

    I've been attempting to convert some of my macros into excel add-ins, but because some of them need to run on the ThisWorkbook module they don't transfer over. Is there a way to make like an ActiveWorkbook module for doing this?

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: ThisWorkbook Module Add-in

    The code must go in the Thisworkbook class module, but you need to consider how you refer to worksheets in the Addin. Have a read about the THISWORKBOOK and the ACTIVEWORKBOOK objects.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Can't reference ThisWorkbook from a module in another workbook module
    By Bukovnik in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-11-2015, 11:32 AM
  2. Replies: 1
    Last Post: 08-30-2011, 02:23 AM
  3. Problem with ThisWorkbook Module
    By docnadir in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2011, 12:02 PM
  4. Code in 'ThisWorkbook' module in add-in?
    By karan in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-04-2009, 03:36 AM
  5. Module not seeing functions in ThisWorkbook
    By ctmurray in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-05-2008, 11:24 PM
  6. [SOLVED] Can I add code to ThisWorkbook module with VBA extensibility?
    By mikeb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-11-2006, 11:15 PM
  7. [SOLVED] Calls from sheet module to ThisWorkbook module
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-23-2005, 11:05 AM

Tags for this Thread

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