Call Word and Compare 2 Word document versions from Excel Office Script - office-scripts

Is it possible to call Word from an Excel Office Script and compare two versions of the same word document?

Office Scripts is currently only available in Excel. If you would like to see Office Scripts in Word, let us know here: http://aka.ms/ExcelSuggestions.
Thanks,
The Office Scripts team

Related

Evaluate a formula in Excel Online only once at file opening?

I had a VB script function Sub Workbook_Open() that was copying a value from one cell (a total from previous day) to another cell at file opening. Now I would like to put my Excel sheet online (MS Excel Online) where execution of VB scripts is not supported so I am trying to realise the same functionality with a formula like =FUNCTION().
Is it possible and how to evaluate a formula only once each time at file opening in MS Excel Online (without using VB script)?
While you cannot use VBA in Excel Online, you may be able to use Office Scripts.
This new scripting technology is currently in preview and it also needs to be enabled by your tenant administrator.
https://learn.microsoft.com/en-us/office/dev/scripts/overview/excel
If you don't yet have access to Office Scripts, I'm afraid there is no solution for what you describe.
Unfortunately the Online MS Office Scripting is not yet a reality as you can see on this link. Hopefully Microsoft have mercy on us one day and allow us to have this crucial feature for some of our most important workbooks. In the meantime, we shall be using this feature only offline.

Comparing Excel files in TFS

Has anybody managed to successfully integrate Microsoft Office Spreadsheet Compare into Microsoft TFS for comparing different versions of an Excel file?
I was able to define Spreadsheet Compare as alternative diff tool but whenever I try to compare two changesets of an Excel file, Spreadsheet Compare opens but crashes immediately.
Any suggestions are highly appreciated.
Winmerge with its xDocDiff plugin lets you compare Excel and Word files.
This blog tells you how to setup Visual Studio for using WinMerge for compare.
You could simply enable xdocdiff plugin in WinMerge. This way, you will also be able to use all file types that xdocdiff supports.
If you insist on using SpreadSheets Compare in TFS, you could take a look at this tutorial: VSTS Compare Excel Spread Sheets

How to make excel linked to another excel file in Sharepoint 2010

I have 3 Excel files that are uploaded in Sharepoint 2010. In one theme every cell links to one of three Excel files. In Sharepoint without opening in Excel on desktop, is there any way to update linked data? Is there any way to run VBA?
Sorry for my bad English.
VBA and external data ranges (also quoted query tables) are not supported by SharePoint 2010 and neither so by SharePoint 2013 while using Excel Services to view these files online.
These features are only supported if you open them within Excel itself.
Here is the complete answer from Microsoft:
https://msdn.microsoft.com/en-us/library/office/Ff595319.aspx

how to use a macro in excel

The question is there are 'n' different ppts and I want to put all the ppts in one single ppt. Condition is I should not use copy paste rather I should write a function in excel using macros to get it done. So how do I do this?
It looks like you need to automate PowerPoint from Excel. The How to automate PowerPoint by using Visual Basic in Office 2003, in Office XP Developer, and in Office 2000 Developer article describes all the required steps for getting the job done. Be aware, the reference number corresponds to the Office installed on your machine. For example:
Microsoft PowerPoint 15.0 Object Library
Stands for PowerPoint 2013 and etc.

VB Script - Calling Excel 2007 explicitly when both Excel 2003 and Excel 2007 are installed

My PC has both Excel 2003 and 2007 as well as the Excel 2007 compatibility pack installed, it also has a VB script that build records into an csv file automatically. Recently, the number of records that are needed to dump into the file has grown significantly and went beyond the row limit in Excel 2003. As such, I made a copy of the same file and saved it into .xlsm format.
However, when I use the VBScript to run the macro behind the Excel spreadsheet by calling:
Set myApp = CreateObject("Excel.Application")
The Excel file still attempted to open itself to convert (using the compatibility pack) to Excel 2003 and run in Excel 2003, which inevitably gives an error every time it runs.
Is there any way I could force Excel.Application to point to Excel 2007 instead of Excel 2003?
Thanks!
I had a similar experience, I am running office 2010 and i want to use the Office agents available until Office 2003.
so I installed Excel 2003 on my box and i didnt worked.
I found this post and tried all options.
reaseaching i found that i should use:
Set myApp = CreateObject("Excel.Application.11")
for office 2003 but it didnt work.
All my testing was done in VBSedit software, which shows that it was using the office 2003, but it was actually opening 2007.
I tried with primalscript and is working like a charm.
I think this might help others.
Try:
Set myApp = CreateObject("Excel.Application.12")
see http://support.microsoft.com/kb/292491
there:
For testing purposes, developers can force a specific version of an Office application to register by using the /regserver switch on the command line. For example, to force an Excel version to register without running setup, you can use a command line that resembles the following:
"c:\program files\microsoft office\office\excel.exe" /regserver

Resources