ms-office

Linux-based MS Office thumbnail generation

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 06:04:18
问题 I've been taken onboard to work on a PHP-based web application. One part of the application generates thumbnail images for MS Office documents on demand, and it uses MS Office + the VeryPDF docprint utility to do this. Because of this one requirement, the system is running on Windows Server 2003 + IIS. I would prefer to have the system running on a Linux server, rather than MS, as I have far more experience in administering Linux systems than Windows and we have no other in-house technical

Repeating content with Office Open XML

时光怂恿深爱的人放手 提交于 2019-12-06 05:29:47
I've been checking out what is possible with the Office Open XML specification for documents. I'm particularly interested in being able to add custom XML content to a document and binding it to content controls. I was wondering if it is possible to have a repeating content control type? For example, say I have some custom XML in my .docx file that looks like so: <Work> . . <People> <Person> <Name>Jane Doe</Name> <EmailAddress>jane@abc.com</EmailAddress> </Person> <Person> <Name>John Doe</Name> <EmailAddress>john@xyz.com</EmailAddress> </Person> </People> </Work> Is there any repeating content

Building an OCX with VS.NET?

核能气质少年 提交于 2019-12-06 05:28:53
问题 What happened to OCX's? Are they no longer possible to create with the latest tools? I need to create an ActiveX control that I can place in Word, PowerPoint and Excel documents. If I use VS.NET, I can only create a UserControl DLL with COM Interop, but I don't think I can add that using the "More Controls" toolbox of PowerPoint's Developer Tab. What would you do? 回答1: Yes, you can still create them. But you can't create an OCX with a .NET language. Need to be unmanaged C++ (or VB). The DLLs

C# & Word - Replace with Formatting

眉间皱痕 提交于 2019-12-06 05:27:28
问题 In it's simplest form what I am attempting to do is fill out some information on a preexisting word document. Which my code does quite nicely... What it doesn't do is fix up the formatting like it needs to, the replaced text needs be made black and bold the totals field on the table needs to be right justified. If anyone can point to how I might do that in my code it would be much appreciated. Here is my current code: using System; using System.Collections.Generic; using System.ComponentModel

Version Control for Access VBA code? [duplicate]

≯℡__Kan透↙ 提交于 2019-12-06 05:11:44
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Version control for VBA file Does any kind of version control exist? If no, is there any good solution for collective development of MS Access 2007 database with VBA ? 回答1: The only one integrated VC solution for Access is Microsoft Visual Source Safe however it's poor designed and even Microsoft internally avoid from using it ;). Some people call it "Source Destruction System", but I personally know success

JavaScript API does not work for Excel 2013?

核能气质少年 提交于 2019-12-06 04:45:24
问题 I just got a change recommendation report for one add-in I submitted. It says Your add-in is not working in the Excel 2013 client on Windows 7 with Internet Explorer 11. I have always been testing my add-in in Excel 2016 and Excel Online . So I just installed Excel 2013 (version 15.0.4841.1000 , which includes SP1), indeed the add-in does not work. But it seems that few things work... For example, the following example function writes haha in Cell A1 under Excel Online , whereas, it does not

Set Publisher in Word Options Add-Ins Dialog

被刻印的时光 ゝ 提交于 2019-12-06 04:12:52
问题 I have made an addin for Microsoft Word 2010 Beta using Visual Studio 2010 RTM. When I look at "View and manage Microsoft Office Add-ins" the publisher shows up as None. Would code signing with a Software Publisher Certificate fill in the Publisher field? The ClickOnce manifest is signed with a Code Signing certificate. Would signing the assembly with a strong name key file fill in the Publisher field? Is there a method using codesign.exe that would fill in the Publisher field? Note: Using

How to return the value in one field based on lookup value in another field

我们两清 提交于 2019-12-06 04:04:33
问题 This is basic stuff, but I'm somewhat unfamiliar with VBA and the Word/Access object models. I have a two column database of about 117000 records. The columns are 'surname' and 'count'. I want a user to be able to type SMITH in a textbox and hit submit. I then want to run something like SELECT table.count FROM table WHERE surname = string and return the value of table.count in a string. It feels like this should be five or six lines of code (which I have but won't post) but I'm obviously

Excel Interop Conditional Formatting

对着背影说爱祢 提交于 2019-12-06 03:49:46
问题 I've just spotted the following page: Setting Conditional Formatting in Excel 2007 which is very similar to something I'd like to do, but I can't seem to find appropriate functions to do something slightly different. I'm wondering if anyone knows a way to apply conditional formatting to a range, based upon a set of textual values. E.g. I want to say: If you see "InvalidValue1" OR "InvalidValue2" Highlight RED else if you see "WARNING" Highlight YELLOW I have a whole range of invalid values,

How to copy excel worksheets Into another excel workbook without opening the excel file in c# winforms?

丶灬走出姿态 提交于 2019-12-06 03:45:58
问题 In C# windows application, I have many excel workbooks, what i want is to copy the worksheets from the excel workbook to a single workbook. This is possible, but i have to open the excel workbooks in order to do so. Excel.Application app = new Excel.Application(); app.Visible = true; app.WindowState = XlWindowState.xlMinimized; app.Workbooks.Add(""); app.Workbooks.Add(@"Path\WorkBook1.xlsx"); app.Workbooks.Add(@"Path\WorkBook2.xlsx"); for (int i = 2; i <= app.Workbooks.Count; i++) { int count