ms-office

I'm checking Ms Office version

孤人 提交于 2020-01-05 03:31:34
问题 I'm currently maintaining an old plugin for Office. Current solution has a method for determining what version of Office is currently installed. It looks into the registration db for PublicKeyToken=71e9bce111e9429c and the Version= . All good and dandy. For Office 2003 the Version=11 , for Office 2007 the Version=12 . For Office 2010 the Version=14 . Ehm what? Are we not counting 10-11-12-13-14-15 etc anymore? Perhaps my google-fu is failing me telling me the word/number I seek is 14, or I'm

How to check that Word 2007 invoke autosave into word addin?

故事扮演 提交于 2020-01-04 17:33:11
问题 I have some functionality inside DocumentBeforeSave event handler. That's should work only when user manually invoke Save (press Save button). But word 2007 have autosave function and event DocumentBeforeSave throws each time when autosave work. How to check that save is invoked over Autosave or User manually invoke Save? 回答1: It looks like there's no build-in way of doing that because the object model simply doesn't support it (per this link), but you can use VBA to override the default save

API for Powerpoint add-in (Windows and Mac)

烂漫一生 提交于 2020-01-04 09:38:10
问题 Is there a new API for developing add-ins for Office 2016 for Mac? I have seen a javascript API but I have not clear if this applies to Office for Mac 2016, Office for Windows 2013+ only or Office Web Apps only. Please point me to an official documentation clarifying that. 回答1: Update, April 2016: MS recently made some announcements about Mac support at Build; primarily around Word & Excel. Interactive chart similar to the image below Eventually, but not yet. The only thing that is in for Mac

API for Powerpoint add-in (Windows and Mac)

喜欢而已 提交于 2020-01-04 09:38:07
问题 Is there a new API for developing add-ins for Office 2016 for Mac? I have seen a javascript API but I have not clear if this applies to Office for Mac 2016, Office for Windows 2013+ only or Office Web Apps only. Please point me to an official documentation clarifying that. 回答1: Update, April 2016: MS recently made some announcements about Mac support at Build; primarily around Word & Excel. Interactive chart similar to the image below Eventually, but not yet. The only thing that is in for Mac

Cannot share an autoopen-tagged document in read-only mode

人盡茶涼 提交于 2020-01-04 05:15:18
问题 I have an Excel file in my OneDrive, I want to create a URL link such that: 1) when my colleagues open the URL in a browser, it could open the file in Excel Online in the read-only mode , 2) and the task-pane of Script Lab is auto-opened. I have followed this to tag my document, then uploaded it to OneDrive. Then, I used Share to share this document in OneDrive as follows. Note that I well set "Anyone with the link can view" Here is the link: https://1drv.ms/x/s!AmAcI5jpNEmng2vYPFkfDRVMDFCP?e

Cannot share an autoopen-tagged document in read-only mode

自古美人都是妖i 提交于 2020-01-04 05:15:06
问题 I have an Excel file in my OneDrive, I want to create a URL link such that: 1) when my colleagues open the URL in a browser, it could open the file in Excel Online in the read-only mode , 2) and the task-pane of Script Lab is auto-opened. I have followed this to tag my document, then uploaded it to OneDrive. Then, I used Share to share this document in OneDrive as follows. Note that I well set "Anyone with the link can view" Here is the link: https://1drv.ms/x/s!AmAcI5jpNEmng2vYPFkfDRVMDFCP?e

Microsoft Jet oledb connection to excel loses formulae

三世轮回 提交于 2020-01-04 02:48:08
问题 I have a dataset and I write it's values to an excel file using Microsoft Jet 4.0 Oledb provider. I want to put hyperlinks into the excel, for this I write "=HYPERLINK("http://www.abc.org/x.pdf")" in DS and then write it to excel. But when the excel is opened it prefixes a ' (quote/apostrophe) before the formula and there it comes as a text, not link. Can you help me removing that quote so that my excel file has hyperlinks instead of that as text? I need to use Microsoft Jet 4.0 provider (not

How to detect Theme fonts in Powerpoint 2007 VBA?

一笑奈何 提交于 2020-01-04 02:30:11
问题 Does anyone know how to detect the use of Theme fonts in Powerpoint 2007 slide objects using VBA? If one looks at Shape.TextFrame.TextRange.Font.Name the font name appears as simple name (ex: "Arial") whether or not the font was assigned as a fixed name or a Theme name (subject to change with the document theme). I don't see any other property in the Object Model that would flag the name as tied to a theme (such as ObjectThemeColor for colors). Thanks! 回答1: There is no direct method (that I

How to process excel file in vb.net without office installed

≡放荡痞女 提交于 2020-01-03 17:05:40
问题 I am fairly new to VB.net and never used it for processing Office files. Right now I have to look at Excel file and send some emails based on the data in the cells. I do not need to write anything to these files. So far I have read quite a bit about PIAs and so far it looks that I have to design my application for particular Office version? Is there a way to write the application which could handle files created by different versions of MS Excel? I would like to be able to process these files

Document Recovery

牧云@^-^@ 提交于 2020-01-03 17:00:31
问题 I am creating an automation solution for Word (2007). Sometimes I have to kill the Word process. Next time word is launched a tab/window appears suggesting to recover an unsaved document. I would like to either disable this or have my application close this window. I have no idea where the entry point to this tab/window is. EDIT: I've found out that word calls this "Feature" Repair, not Recover. Still no idea how to avoid/bypass/disable it. Suggestions? 回答1: This can be solved by deleting the