ms-office

How can I tell if Office Clipboard collection is turned on?

£可爱£侵袭症+ 提交于 2019-12-12 01:59:55
问题 I want to know whether the Office clipboard collection is turned on. This is the clipboard pane that saves the last 24 clipboard data. On Office 2007 and 2010 you get it by expanding the clipboard area on the Home ribbon, and in Office 2003 you can open it from the task pane area, and selecting clipboard from the menu. I've an Office plugin. Although I'm doing all sort of API hooking (using IAT), I'm looking for the simplest solution. My initial idea was to look for a window with title:

Using an applescript/automator to attach multiple items to a new Outlook message

断了今生、忘了曾经 提交于 2019-12-12 01:38:36
问题 I've worked out (found online) how to attach a single item from Finder to a new Outlook message. I've played with this format a good amount - changed 'selecteditem' and selection and some other more major changes - but I can't work out how to get more than one item to attach to a new outlook message at a time. Only a single item attaches to each new outlook message. There are no Outlook Automator options in Automator - I think Office 365 did away with them. My current script is as follows:

Html To Doc(Word) Or RTF Format

一世执手 提交于 2019-12-12 01:17:10
问题 What would the best possible way to convert a html page (with css, tables, images etc.) to be converted to word or rtf format. I already know about adding the content-type = application/word header and that's not an option because we need the images embedded in the document so that it can be viewed without an active internet connection. I need either a free (preferably) or commercial .NET library or a command line utility as I need to do this on a hosted ASP.NET application on a shared server

How to read Math Equations from Powerpoint and write it to Word document in C#

随声附和 提交于 2019-12-12 00:08:43
问题 I am developing a PowerPoint extraction tool since march 2014 which extracts the words or paragraphs from PowerPoint and write it to word document. It has been developed. During the testing. we found that Math Equation has not being fetched from PowerPoint slide. I am using Microsoft.Office.Interop.Powerpoint.dll library. i am reading file such as given below. var powerPoint = new Application {WindowState=PpWindowState.ppWindowMinimized}; var oPresSet = powerPoint.Presentations; Microsoft

Which API Microsoft Word (Office 2013) is using the paint the screen

旧街凉风 提交于 2019-12-11 19:39:48
问题 I have an Office plug-in (native C++) which is fairly involving with Office. One of the thing I'm doing is finding the HWND of the main window, and subclass that window. On various occasions I also GetDC that window, and paint my own stuff on top of the Office document. I'm also using IAT hooking (fairly standard) of various Windows API. I've a 'Decorate' function that draw on the HDC directly. Until Office 2010, I called my method immediately after Office handled WM_PAINT, and also after WM

RibbonButton classes — can they be extended?

女生的网名这么多〃 提交于 2019-12-11 18:41:36
问题 I have been building a ribbon plug in for Excel. The ribbon toolbox seems extremely limited to me, you can't make even the most basic changes to it. For example, I want to be able to tag cells with a group name. I have a menu that lists the group names, and allows you to select which groups the currently selected cells are in. I want an additional menu entry to say "Clear" to remove them from all groups. Ideally it shouldn't be set in the same type as the group names, perhaps italic and gray.

Office (esp. Outlook) addins [closed]

烂漫一生 提交于 2019-12-11 17:58:45
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . We want to develop addins for outlook, word and excel. As of now I am aware of 2 types of solutions. One to go for Shared Add-in (COM based) and other to build VSTO based Add-in. As I am new to this, which would be the better option? (Or if there is 3rd way,please let me know

Re-defne a Paragraph Range to Include a Subset of Words in the Paragraph

≯℡__Kan透↙ 提交于 2019-12-11 17:57:59
问题 I'm using Microsoft.Interop.Word / C# to programmatically create a Word document. In a given paragraph, I need to change the color of words that occur between brackets "[" and "]" The words are variable. As I understand it, I need a Range object in order to set colors. I'm using the following code, which does not work: // Add the paragraph. Microsoft.Office.Interop.Word.Paragraph pgf = document.Paragraphs.Add(); // Insert text into the paragraph. pgf.Range.InsertBefore("JIRA Issue: " +

Save the initial state of a workbook

百般思念 提交于 2019-12-11 16:19:15
问题 I would like to save the initial state of a workbook (or an Excel application) in the beginning, so that I could always get back to it regardless of modification on the workbook by my Add-in. I tried some following code in Home.js : (function() { "use strict"; Office.initialize = function(reason) { $(document).ready(function() { app.initialize(); initial(); $('#getInitial').click(getInitial); }); }; var ctxInitial; function initial () { ctxInitial = new Excel.RequestContext(); } function

How can I use a cell formed by concatenation of a number and a text as input to a calulcation at another cell?

ε祈祈猫儿з 提交于 2019-12-11 15:18:49
问题 I can add multi-line text after a formula in a cell. (see how to append a multi-line text after a formula in Microsoft Excel?) But now that cell had been turned into a text cell and it seems I cannot use the cell as a numeric cell, when I want the cell in a summation. how can I use a cell like =CONCATENATE(F20/20, CHARACTER(10), "*note 4)") as an input of a numeric calculation in another cell? 回答1: The simplest solution would be just to reference F20 in your formula. However, if that's not