ms-office

Cannot install ClickOnce - Certificate Not Trusted

萝らか妹 提交于 2019-12-04 19:25:30
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 further assistance. The program is being downloaded from the same server from which the private key was

How can I load another new Word document in the same Word window?

对着背影说爱祢 提交于 2019-12-04 19:21:17
It seems that in the Microsoft Word object model, a Word document is bound to a Window, but I want to close the existing document and open a new one without closing the Word window. How can I do this? This works for me to close a document and open a document in the same window (I'm running the macro from normal.dotm ): Sub CloseOpenSameWindow() Dim d As Document: Set d = ActiveDocument Application.ScreenUpdating = False d.Close Application.Documents.Add Template:="C:\Users\Me\Desktop\Mydocument.docx" Application.ScreenUpdating = True End Sub Have you tried File->Close ? That should close the

Save and Open Remote Documents

a 夏天 提交于 2019-12-04 19:17:11
I know nothing about microsoft office development, but I would like to build a prototype of a plugin will allow a user to Save and Open documents from a remote repository. Perhaps later build in a version control system on the server - but the server side piece is about the easiest portion of it (in my case). Perhaps I should focus on getting this to work for one office application at a time - say MS WOrd (unless folks think excel is easier to work with). And lets target Office 2007 (as that is what I have installed). Saving The repository will store the document Tagged (by many tags, of many

MS Office 2013 - VBA password security [duplicate]

◇◆丶佛笑我妖孽 提交于 2019-12-04 18:21:17
This question already has an answer here: Is there a way to crack the password on an Excel VBA Project? 22 answers I am wondering about how safe is the VBA password on MS Office 2013. I've searched online and there are a bunch of websites selling software to do it, is it reliable? I want to develop some security around my office files that would depend on the VBA code inside, but if the vba code inside can be easily changed/seen it's non sense going that way. Thanks Hugo Hilário Using this answer as reference : Is there a way to crack the password on an Excel VBA Project? Instead of doing all

MS Office file diff under TFS

孤街浪徒 提交于 2019-12-04 17:43:27
问题 When you compare two versions of MS Word doc/Excel book in Team Foundation Server Source Explorer, the result is the boring "Binary filles differ" dialog. It does not have to be that way though. The relevant apps (Word/Excel) have an excellent built-in diff interface. You can witness it when you work with versioning-enabled SharePoint file library and do compare with a previous version. Also, TortoiseSVN brings it up when you do diffs. Question - can I enable this in TFS? 回答1: You can

Converting xlsx to xls using Microsoft Office Compitablity Pack's excelcnv

十年热恋 提交于 2019-12-04 17:17:45
The internet says that you can convert xlsx files to xls files using Microsoft Office Compitablity like this: "C:\Program Files\Microsoft Office\Office14\excelcnv" -nme -oice D:\test\new.xlsx D:\test\old.xls However, this works backwards - it converts xls files to xlsx files. Does anyone know the excelcnv switches to convert xlsx to xls? For me, using the compatibility (conversion) pack for Office 2003, simply switching the places of the parameters in the example you cite works; e.g. if this also works for ~\Office14 (which I assume and hope it does), change the command this way: "C:\Program

Embedding Office files (.doc, .ppt, .xls) in my Android App

蓝咒 提交于 2019-12-04 17:09:35
Is there a way to embed any kind of a viewer (for exapmle, QuickOffice Viewer) inside an Android App, in order to view/show/edit Documents such as .docx, pptx, xlsx, etc. (Word, Excel, PowerPoint files) ? Any SDK or any API to present those without leaving to another app ? A.K.A I don't want my files & data to leave my app, but I want them be presented to the user :) There is Apache POI . The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) and Microsoft's OLE 2 Compound Document format (OLE2

RegEx : Remove line breaks if lookbehind shows a lowercase

安稳与你 提交于 2019-12-04 16:26:17
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? In Microsoft Word, do the following: On the Home tab, in the Editing group, click Replace to open the Find and Replace dialog box. Check the Use wildcards check

C# Visual Studio: How to have multiple developers on a solution that references Office?

僤鯓⒐⒋嵵緔 提交于 2019-12-04 15:43:20
When I add a reference to Office COM Library, I to go: References Add Reference Select the COM tab Select Microsoft Office 12.0 Object Library And magically named reference appears: Microsoft.Office.Core The Project.csproj file shows the details of the reference: <COMReference Include="Microsoft.Office.Core"> <Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid> <VersionMajor>2</VersionMajor> <VersionMinor>4</VersionMinor> <Lcid>0</Lcid> <WrapperTool>primary</WrapperTool> <Isolated>False</Isolated> </COMReference> i check the project into source control, and now nobody else can build the

C#: Getting the number of rows/columns with ExcelPackage

£可爱£侵袭症+ 提交于 2019-12-04 15:01:54
问题 I need to read and write data from an Excel spreadsheet. Is there a method to finding out how many rows/columns a certain worksheet has using ExcelPackage? I have the following code: FileInfo newFile = new FileInfo(@"C:\example.xlsx"); using (ExcelPackage xlPackage = new ExcelPackage(newFile)) { ExcelWorksheet worksheet = xlPackage.Workbook.Worksheets[1]; } I need to iterate through each cell this worksheet has and spit it into a fairly big table, but I don't want to print out blank cells or