How to get the current running office instance version number using VBA? - vba

I am developing Microsoft Office Add-in, I have to read the registry values of the current instance of the office in which my add-in will run.
Is there any way I can get the current office version number of add-in instance?
I have searched and found this solution. But it's is not working.
Thanks if anyone from you can help.

Related

How to develop an application with ms-access-2016 and make it compatible with previous versions (2007)

Am using MS Access 2016 to develop an application managing images. But some of my users are still using MS Access 2007 on their computers. And the receive the error "unrecognized database format".
So I would like to know if there is any solution for this. Like making my application compatible for previous versions.
I did some researches for days but not satisfied yet.
Need any help, solution or advice please. Thanks
Develop using the lowest version that your application will address, here 2007.
A newer version - 2010 and onwards - will run an older with no problems. However, 2007 is 32-bit only, thus - if you use API calls and some users run Access 64-bit - you must take care of that.

migrating from access 2007 to 2013. reference problems with rightfax

Hi I am currently trying to upgrade an access 2007 file to 2013. I have opened it and tried to run it ,unfortunately under references it does not display "Missing" for me to check. I have added some that work but I am having a "user-defined type not defined" error with
' Requires reference to "RightFax COM API Type Library"
Dim faxSvr As RFCOMAPILib.FaxServer
And in the References I do not see any rightfax com API type library to check. Is there something I need to download and add? or is rightFax compeletely removed from access 2013?
Any help appreciated Thank you.
You might have to register the DLL or install the software again - RightFax doesn't come with any version of MS-Access
It's a third party application. RightFax has a COMAPI that uses the file RFCOMAPI.DLL - if you can find it on your old system, and register it, you might just get lucky
thanks guys. I have found the correct DLL files to add to the references. Glad some one left a folder with these files in the old server. Googling for them turned up few results.

Insert Excel charts using Microsoft Graph in a PowerPoint Add-in sample

I am trying to get this sample (Insert Excel charts using Microsoft Graph in a PowerPoint Add-in) working in PowerPoint. One of the requirement is that a specific version of PowerPoint "PowerPoint for Windows Desktop, version 16.0.6769.2001 or higher" is needed. I have Office 365 subscription (work related) and my PowerPoint version is "16.0.6001.1068". I have already checked in PowerPoint for any available update but it comes back saying my version is up to date.
The question is - how else can i get the "16.0.6769.2001" version? Any help would be appreciated.
BTW: i did go through all the other settings and instruction to setup the the sample. When i load PowerPoint and insert a chart, the add in never loads.
Cheers.
If you are using O365 from your company, the admin in your organization may choose to delay Office updates. Therefore, you may not able to get the latest Office. But you can always sign up an Office developer account for free and get the latest bits. You can sign up for free hereOffice 365 Developer Subscription. This includes the resources you need to start building apps.
Thanks,
Sky,
Office Extensibility Team

Adding Outlook Object Library to Excel 2011 for Mac

I am trying to move a VBA macro code from Excel 2003 to Excel 2011.
The macro requires sending an Email from Outlook. However, when I went to Tool > References to add the Outlook Object Library, it does not show up in the List box.
How do I go about adding the reference in so i can access Outlook?
As of my knowledge Office Automation in the MAC world is somehow limited. Please see this discussion. Also this one in a Microsoft Forum..
You can add reference by using Browse option.
You just need to add reference to the file "MSOUTL.OLB"
In my system I have it in "C:\Program Files\Microsoft Office\Office12\MSOUTL.OLB" , In your system it could be in different folder.

Office 2007/2003 VSTO Shared Add-In Design Query

I am designing a shared add-in using VB.Net 2008 and VSTO that has to fire up when any MS Office App is started. It has to work for both 2002, 2003 and 2007 applications. I have managed to put together a working add-in that pops up a test message stating the version of Office and the Application name and tested this across all the apps ok.
The next part of the solution is to code the application specific code that needs to run for document auditing and corporate protective marking as well as, for example; in Excel checking that all the Add-Ins are linked to the Network Add-Ins folder.
My approach from now was going to be to late bind against the application object and set one of my typed (e.g. Excel) application object references which exist in the code to this object.
I'm still relativly new to VSTO so if I am doing something odd please can you let me know! :)
Ta.
I have completed this project and did it the way I specified using late bindig. It works lieka dream for all office apps both XP and 2007. :) I feel like I am announcing this to myself though as I didn't recieve a single answer or comment. Maybe you should have sexed up the title a bit Mas. Yeah maybe I should.