ms-office

Why does the VBA IDE's Intellisense in Microsoft Word 2007 keep on changing the case of the name of a particular variable type?

妖精的绣舞 提交于 2019-12-10 03:39:50
问题 This is the most bizarre question I've ever asked. I'm not even sure how to phrase it. I remember something like this happening way back in the VB6 IDE, but I've forgotten the fix. If this is the case, then this is a really old bug in the VB IDE. Here's the problem: I'm writing a simple MS Word macro when I accidently typed: Dim cell as Cell This activated the dreaded IDE bug. Now, no matter what I do; remove the module, edit it outside the IDE or whatever, the IDE's intellisense formats the

Directly signing an Office Word document using XML

浪尽此生 提交于 2019-12-10 02:43:55
问题 I'm trying to sign a Microsoft Office Word file using C# in direct XML format. There are some questions and ambiguousness arises here like: How should I fill in the digest values, what value should I exactly digest for each reference, and what value should I digest for each transform? What value should I sign to create the SignatureValue ? And what certificate should I include in x509 data and how? (We don't exactly have a certificate so a guide for creating one is appreciated.) The last

Where can I find Microsoft.Office.Interop.Word.dll (2010)?

本小妞迷上赌 提交于 2019-12-10 02:06:29
问题 I got the sources of a .NET project that I am trying to compile. Although, the project uses the reference (namespace) Microsoft.Office.Interop.Word from Office 2010 that I cannot find anywhere. I was able to download the file microsoft.office.interop.word.dll but apparently the one from Office 2007 since it still doesn't compile because the project uses the function Document.SaveAs2 (which is from Office 2010 library). I have Office 2007 on my computer and Visual Studio 2012 Express for

Cannot install ClickOnce - Certificate Not Trusted

十年热恋 提交于 2019-12-09 23:51:38
问题 I am trying to publish a small Microsoft Office customization using Visual Studio 2013. I purchased a code-signing certificate from GoDaddy (issued by Starfield Technologies) and used it to sign the program. However, when a user tries to install the ClickOnce Manifest, they get the following error: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for RiskMP or its location is not trusted. Contact your administrator for

RegEx : Remove line breaks if lookbehind shows a lowercase

微笑、不失礼 提交于 2019-12-09 22:58:59
问题 I'm doing a CTRL+H (Find & Replace) in Notepad++ I want to find all Line breaks followed by lowercase characters in order to replace them with a space character ; thereby removing unwanted break lines in my text. Find : \r\n+(?![A-Z]|[0-9]) Replace : insert space character here *Make sure you selected " Match case " and " Regular expression ". It works perfect. Now, I'd like to do the same in Microsoft Office Word documents. Any clues? 回答1: In Microsoft Word, do the following: On the Home tab

What's the best program / API for converting Word docs to PDF that does NOT require Office to be installed? [closed]

怎甘沉沦 提交于 2019-12-09 15:39:31
问题 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 2 years ago . Well, really the title of the question says it all. There are similar questions on SO already. But here's some differences... I absolutely cannot use Office on the server. I must be able to convert the document programmatically. I don't really care how much it costs. Obviously cheaper is better, but if you have

Can I add a custom “Send” button to Outlook?

随声附和 提交于 2019-12-09 14:32:47
问题 I'm creating a secure message alternative to email for my organization. We exchange confidential patient information with outside treatment providers. To protect privacy, we cannot use email for this purpose. Rather than force the users here to use whole new inbox, outbox, and authoring interfaces in addition to the Outlook/Exchange email they're used to, is it possible for me to simply add a "Send Secure" button that will direct their message to my custom service rather than the email server

Novacode Docx Create Image from Bitmap

杀马特。学长 韩版系。学妹 提交于 2019-12-09 13:13:19
问题 Background My project is urgent and requires that I iterate a large XML file and return Base64 encoded images. Each image must be inserted into an MS Word doc, and I am using the DocX library for that. I am converting the Base64 strings to bitmap with no problem. Problem For the life of me, I can't seem to get the bitmaps into a Novacode.Image object which can then be inserted to the document. NOTE: I already know how to convert to System.Drawing.Image format. It is Novacode.Image format

Storing arbitrary meta-data in Microsoft Word document

让人想犯罪 __ 提交于 2019-12-09 12:35:00
问题 I need to store custom meta-data in a Word document. The 'document properties' are limited to 255 bytes but I have data which is >> 10k We are using VBA to write a word extension to interact with our application and want to have our application data stored in the word document. The idea is that that the user can share just the word document without sharing any other data files of our application. Has anyone ideas how to store arbitrary meta-data efficently in Office 2003+ documents? 回答1: Just

Office 2013 Excel .PutInClipboard is Different?

两盒软妹~` 提交于 2019-12-09 09:53:44
问题 I've used a routine for years to put a plain text string into the clipboard that I can paste into another program such as: targetData.SetText "This is a plain text string" targetData.PutInClipboard When I use this in Excel Office 2013 the data isn't in the clipboard and therefore I can't paste it. This never happened in prior versions. Under closer inspection I've found that the string does go to the clipboard but as "System String" but not as "Text" or "Unicode Text". BUT... about 10% of the