+ Reply to Thread
Results 1 to 5 of 5

Thread: Converting VBA code to COM addin???

  1. #1
    Registered User
    Join Date
    02-06-2009
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2007
    Posts
    39

    Converting VBA code to COM addin???

    I am not familiar with building a COM addin as in the past I have been able to build all my tools in VBA. Does anyone out there have suggestions for converting this code into a form that is able to run in outlook 2003, and 2007? Also I would like to have a button show up on the menu bar that when clicked executes this code
    Sub RunMyForm()
      Dim appAccess As Access.Application
      Set appAccess = New Access.Application
      appAccess.Visible = True
      appAccess.Application.OpenCurrentDatabase ("C:\Users\me\Desktop\test.accdb")
    
    End Sub

  2. #2
    Registered User
    Join Date
    11-09-2008
    Location
    germany
    Posts
    74

    Re: Converting VBA code to COM addin???

    Still looking for help on this?

  3. #3
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,645

    Re: Converting VBA code to COM addin???

    You need something like VB.Net to create Comm addins. Is this for Outlook?
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  4. #4
    Registered User
    Join Date
    11-09-2008
    Location
    germany
    Posts
    74

    Re: Converting VBA code to COM addin???

    Hi RoyUK - that was a question to the poster. :-)

    I could give him some tips, but I just wanted to see if he was still needing help.

  5. #5
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,645

    Re: Converting VBA code to COM addin???

    Why not post the tips anyway? It might help someone
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

+ 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.2.0