ms-office

Conflict of displayDialogAsync and html5-history-api

ぐ巨炮叔叔 提交于 2019-12-13 17:11:36
问题 I have an application by mean-stack that hosts a website and an Excel add-in. html5 is enabled, and it has <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></script> <script src="https://cdn.rawgit.com/devote/HTML5-History-API/master/history.js"></script> In the Excel add-in, I have a button that opens a page in the website by Dialog API: $scope.openDialog = function () { Office.context.ui.displayDialogAsync("https://localhost:3000/preview/tmp/6wr-4PqdBrYQwjp3AAAD", {}

Import multiple Excel files/sheets into SQL Table

北城余情 提交于 2019-12-13 16:05:44
问题 I have about 100 xlsx files, all with 1-7 sheets each. Each file and sheet has the same columns as the table I want to import everything into. I can use this successfully: SELECT * FROM OPENROWSET( 'Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=C:\0.xlsx', 'SELECT * FROM [sheet1$]' ) or SELECT * FROM OPENDATASOURCE( 'Microsoft.ACE.OLEDB.12.0', 'Data Source="C:\0.xlsx"; Extended properties=Excel 8.0')...Sheet1$ But how can I import multiple sheets from a file? 回答1: Create linked server for

Adding Existing Group to Custom Ribbon in Office Word 2010

怎甘沉沦 提交于 2019-12-13 15:43:18
问题 I am creating a custom add-in ribbon for MS Word 2010. I wanted to know how, if possible, can I add button groups from the other native ribbon tabs to my custom tab without reprogramming/replicating those functions? 回答1: You will have to reference the needed controls using the correct idMso-tag for each control in your customUI xml. A description for how to find the correct idMso for built-in controls can be found at http://msdn.microsoft.com/en-us/library/aa722523%28v=office.12%29 (below "To

Mass Convert .xls and .xlsx to .txt (Tab Delimited) on a Mac

╄→гoц情女王★ 提交于 2019-12-13 14:09:08
问题 I have about 150 .xls and .xlsx files that I need converting into tab-delimited. I tried using automator, but I was only able to do it one-by-one. It's definitely faster than opening up each one individually, though. I have very little scripting knowledge, so I would appreciate a way to do this as painlessly as possible. 回答1: If you would be prepared to use Python for this I have written a script that converts Excel spreadsheets to csv files. The code is available in Pastebin. You would just

Using a 32bit COM object in a 64bit environment

人走茶凉 提交于 2019-12-13 14:06:06
问题 I'm using powershell 3 on Win7/64bit . I am trying to use .net of excel (32bit) with this command : [microsoft.office.interop.excel.xlfileformat] And I got this error: unable to find type microsoft.office.interop.excel.xlfileformat: make sure that the assembly containing this type is loaded. I didn't have this error before when I used Win7/32bit. Maybe someone know how to fix that? 回答1: You need to load the Excel interop assembly like so: Add-Type -AssemblyName Microsoft.Office.Interop.Excel

Check MS Office license status programmatically

六月ゝ 毕业季﹏ 提交于 2019-12-13 13:24:22
问题 Is it possible to programmatically check MS Office (2007-2016) license status? (C++ preferable) I'll share with you my research below, maybe it will somehow help. I know that starting from office 2010 there is OSPP.vbs script to check license status. But since I can't use this script in my code (because of security issues), I'm using WMI to query LicenseStatus from SoftwareLicensingProduct information in C++ . The problem is that for 2013 office there are 36 licenses returned from the query

Is this correct Open Office XML?

↘锁芯ラ 提交于 2019-12-13 13:15:47
问题 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <?mso-application progid="Word.Document"?> <pkg:package xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage"> <pkg:part pkg:name="/_rels/.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="512"> <pkg:xmlData> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006

convert microsoft documents into pdf with nodejs [closed]

狂风中的少年 提交于 2019-12-13 11:46:21
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . DO you know any library to convert Microsoft Office documents like Word (.doc) or Excel (xlsx) into PDF using NodeJS? I have been looking around with no luck. Thanks 回答1: Well, I think the best possible converting option would be using the LibreOffice headless command line option. libreoffice --headless -

Access 2007 triggers and procedures equivalents?

自古美人都是妖i 提交于 2019-12-13 11:43:32
问题 Ok, does anyone have some good resources for Access 2007 features regarding triggers or stored procedures? Can it even do them or something similar to them? Every resource I have found on Microsoft’s help is referencing back to Access 2003, as well as many of the help manuals online. Everything is moved around in 2007, so it is a little tough to translate older help manuals. I really wanted to use ms sql, but got forced to do this small project in access, so any resources would be helpful.

VB6 Outlook Add-in works in Outlook 2013 but only if full Office is installed?

女生的网名这么多〃 提交于 2019-12-13 10:25:10
问题 This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 6 years ago . I have a VB6 Outlook add-in. This is tested and working on a Windows 7 64bit machine, with 32bit OFFICE installed. On another PC, Windows 7 64bit, 32bit OUTLOOK install, the add-in does not load. It is not listed in the list of COM add-ins, and when I try to add it to that list manually, it does not appear! I assume that there is some dependancy with some