Results 1 to 9 of 9
  1. #1
    tsgiannis is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2020
    Posts
    4

    Is it possible to use an Excel addin from Access ?


    Well I know its a bit bizarre question but I am constantly stumbling on some interesting addins for Excel and I wanted to know if there is some way to use them via Access...possibly call it..feed it..do the math and return the results...even as raw data.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,899
    The only Excel add-in I have is PowerQuery. I found VBA for manipulating PowerQuery but code is behind Excel workbook.

    With Access VBA Excel automation to manipulate workbook, I expect the same code could be implemented.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tsgiannis is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2020
    Posts
    4
    I guess this is the way but I was curious if we can directly talk to it...
    I will check the automation...
    If you can share some code about PowerQuery probably I will do the modifications to cover my needs

  4. #4
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,791
    Not sure what additional features you're after but you can use Excel functions within Access code if you set a reference to Excel. It's not a simple matter of just pasting in the function formula as if you were doing so in a cell. I've found that you have to know its parent (which I believe is the worksheet) and its vba name. I have only done this 2 or 3 times. Look at the Excel object model for a start?

    Office Object Model
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,899
    Google or Bing "vba automation powerquery"

    Excel VBA command to run Power Query | MrExcel Message Board

    Google or Bing "Access VBA Excel functions"

    Excel Functions in Access - Microsoft Access / VBA (bytes.com)
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    tsgiannis is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2020
    Posts
    4
    Quote Originally Posted by June7 View Post
    Google or Bing "vba automation powerquery"

    Excel VBA command to run Power Query | MrExcel Message Board

    Google or Bing "Access VBA Excel functions"

    Excel Functions in Access - Microsoft Access / VBA (bytes.com)
    I am familiar with the Excel object I just never worked with addins
    Strange 1st result in searching :
    fortunately Power Query doesn't support vba in any way

  7. #7
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Post 6 was moderated, I'm posting to trigger email notifications.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    tsgiannis is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2020
    Posts
    4
    Please close the question...the author of the addin I was interested contacted me and offered me the source code...so no need for external manipulation

  9. #9
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,899
    Only way to 'close' is to mark Solved with Thread Tools dropdown above first post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Code Library Addin
    By Mickjav in forum Code Repository
    Replies: 0
    Last Post: 07-07-2020, 01:29 AM
  2. Download DD's Code Library Addin
    By Mickjav in forum Sample Databases
    Replies: 0
    Last Post: 04-26-2020, 09:57 AM
  3. I can't to access the supplements (addin) and controls
    By Wanderley Egídio in forum Access
    Replies: 3
    Last Post: 01-02-2018, 04:20 AM
  4. Excel Addin to Pull Data from Closed Access Databases
    By zubair57 in forum Import/Export Data
    Replies: 0
    Last Post: 04-07-2016, 12:37 PM
  5. IDE Addin
    By Perceptus in forum Programming
    Replies: 4
    Last Post: 10-20-2015, 05:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums