ms-office

Office clipboard format

让人想犯罪 __ 提交于 2019-12-06 01:06:37
问题 If I copy a graph from Excel (2007) and choose Paste Special in another Office app, I see a clipboard format called "Microsoft Office Graphic Object", which allows different customizations than Enhanced Metafiles. How do I create such a clipboard object from my own (C++) app so it gets the first-class treatment from Office app? It's not so important that the chart data be linked like it is within Office apps -- I just want to offer another graph export option. ClipSpy reports several binary

VBA Reference Libraries

这一生的挚爱 提交于 2019-12-06 00:36:42
问题 I'm new to VBA and have been throwing together a small macro application for the Office. We've got about 80 users on essentially identical PC setups, and it will be accessed by all but a few users. I've been playing around with some automation of accessing web pages using the Web Services references, and I've also loaded the Microsoft Scripting Runtime references into the project. I attempted to run it on a test PC and it complained that there were missing references. I don't particularly

How to Import Excel Worksheet into Microsoft Project?

我的梦境 提交于 2019-12-06 00:33:13
I want to import the following Microsoft Excel worksheet into Microsoft Project (2010): Essentially, the worksheet has tasks and subtasks in column A, Start Dates in column B, and Finish Dates in column C. The conditional highlighting you see is based off the start and finish dates. There are no macros, only formulas, so the spreadsheet is saved as a normal Excel workbook. I tried to open the workbook in Project. It correctly finds the source worksheet name, but it doesn't recognize any fields to map to. See the picture below: What can I do to resolve this? I've never used Project before, but

How to programatically re-enable documents in the MS Office list of disabled files

£可爱£侵袭症+ 提交于 2019-12-05 22:11:06
MS Office programs keep a list of disabled files that have caused errors when previously opened. A user can remove documents from this list by accessing the list through the program menu and selecting a document to be re-enabled. ( http://support.microsoft.com/kb/286017 ) The question is: How can this re-enabling of documents be accomplished programmatically, without interaction with the gui? Consolidating previous answers and expounding upon them here. Office products store disabled items in the registry under keys named HKEY_CURRENT_USER\Software\Microsoft\Office\<version>\<product>

MS OFFICE C#: Primary Interop Assemblies

自闭症网瘾萝莉.ら 提交于 2019-12-05 21:51:02
Any one know of a way to install MS Office Primary Interop Assemblies without installing having to install office itself? Martijn Nope, not possible, or useful. There is no sense installing libraries designed so you can interoperate with Office, if there is no Office to interoperate with. (Note, you need a full licence for whatever office product you are using trough Interop too). The use of this would be for setting up an automated build machine for continuous integration purposes. Primary Interopr is only interop libraries - this is something like bridges between your application and Office

Getting info from selected mail item in Outlook 2010

筅森魡賤 提交于 2019-12-05 21:50:22
I want to write an add-in for Outlook 2010. The idea is - user selects one mail item in folder, then presses the button on ribbon which starts the add-in. Add-in gets information from selected item, process it and displays result. I run in to problems when trying to get the Inspector of selected item. I tried: Outlook.Inspector Point = this.Application.ActiveInspector().CurrentItem as Outlook.Inspector; Outlook.MailItem mailItem = Point.CurrentItem as Outlook.MailItem; Of course this doesn't check if current item is actually an mail item but that's for later. My problem is, when i try running

What are the clipboard formats for Microsoft Office where you can drop a chart?

强颜欢笑 提交于 2019-12-05 21:37:20
I'm trying to create a DOCX in memory that I can provide for a Drag & drop operation. I first tried "Embed Source." However, while it seems to be perfect (DOCX in an OLE wrapper), Word does not use it for drag & drop although it does use it for cut & paste. Is there a way to force Word/Excel/PPT to use "Embed Source?" Second it uses FileContents sometimes and that also looks like it would work. However while Spy shows it being requested when Word does a drag/drop to Word, it doesn't work when my app is the source. Word does ask my app if it can do FileContents but it never requests the data in

Upside down text for report?

我们两清 提交于 2019-12-05 20:19:41
For specific reasons, I need to be able to display some values on the bottom half of my report upside down(inverted). The intention of this report is to be printed and folded down the middle, so I would like for it to adhere to this specific format. I can't find anything that does this easily. Some ideas that I have considered but don't know how to implement: 'importing' an upside-down font and setting the control's font to that font? somehow inverting the entire control 180 degrees Does anyone have any experience accomplishing this? Edit: installing an upside down font and setting the control

.NET Deploying Office 2003 Redistributable Primary Interop Assemblies (o2003pia.msi)

我的未来我决定 提交于 2019-12-05 20:10:39
Has anyone out there actually succeeded in creating a prerequisitie for o2003.msi? There are a lot of people out there asking about this, but I cannot find anyone who actually succeeded. I find some extremely complicated solutions where you are required to comple .cpp-files for which the soure may or may not be supplied. I even tried to complie one of those but got configuration error on the target machine... :-( If I don't install o2003.msi, my Office "Shared Add-In" will throw an exception because office.dll cannot be found. So I would very much like to have it included in my installer. And

Document viewer for ipad [closed]

拟墨画扇 提交于 2019-12-05 19:59: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 7 years ago . I am new to Xcode world. I am working in Xcode to develop a Document Viewer for Ipad that support DOC and PPT file types. I googled it so many times, but nothing useful. I badly need a library. Please help me to choose a library for ios to support MS Documents and Powerpoint. Thanks in advance... Have you tried this? http://developer.apple.com/library/ios/#samplecode/DocInteraction/Introduction/Intro.html It