ms-office

DEL and BACKSPACE keys get eaten from WebBrowser

此生再无相见时 提交于 2019-12-01 18:16:09
I have a custom task pane in a VSTO Outlook add-in which hosts a System.Windows.Forms.WebBrowser control. All works well but in web forms DEL and BACKSPACE keys do not work. As if something eats those keys before they get to the browser. Any pointers are appreciated. EDIT: It seems that clicking the WebBrowser does not activate the parent task pane. If I add a simple TextBox as a sibling to WebBrowser and then click TextBox with a mouse, task pane's title bar color changes indicating it got focus. Next if I click WebBrowser , Del and Backspace start working. If I remove focus from task pane

Shared Strings in Excel 2010

橙三吉。 提交于 2019-12-01 14:39:41
问题 Can someone help me in understanding the Shared Strings in MS Excel ? I tried to understand using some blogs but could not get complete idea. Everyone is explaining how to access Shared String using Open XML and where the Shared Strings stored (as sharedStrings.xml ). Accessing using API is fine. But, How to create Shared Strings in Excel . (Creating manually in Excel 2010 , not using API) What is the exact need of Shared Strings? In which cases i can go for Shared Strings? I tried following.

Calculation fields not working with dates

两盒软妹~` 提交于 2019-12-01 13:30:30
I have seen quite a lot of examples looking for a solution, so I'm pretty certain that this possible. I have Custom Document Properties (properly defined as date) containing dates , and I want to make operations on them : {={ DOCPROPERTY DateFieldTest }+1 \@"d MMMM YYYY"} 'toggle DOCPROPERTY Field {=07/04/2016+1 \@"d MMMM YYYY"} 'toggle calculation field 1 I have also tried : {=DATE(YEAR({ DOCPROPERTY DateFieldTest }),MONTH({ DOCPROPERTY DateFieldTest }),DAY({ DOCPROPERTY DateFieldTest })+1) \@"d MMMM YYYY"} 'toggle DOCPROPERTY Field {=DATE(YEAR(07/04/2016),MONTH(07/04/2016),DAY(07/04/2016)+1)

Outlook Add-in not opening the default browser when clicking on link inside the addin

 ̄綄美尐妖づ 提交于 2019-12-01 12:51:35
Background We are having users complain about links ( <a href="..."> ) from our Outlook addin not opening in their default browser. Some see that Google Chrome (default) is opening, which is the intended behavior. But some see that IE is opening regardless of what the default browser is. I suspect this may have something to do with the version of Outlook - but I haven't been able to pinpoint how and what. Maybe it has got something to do with the IE version on the computer since the addin window should be running in IE. Perhaps even the version of Windows. The users that have seen the issue so

VB macro or office addin for mac

送分小仙女□ 提交于 2019-12-01 12:48:10
Currently we developed a VB macro for word. While we tried to use it on mac it failed with message "VB Macro not supported in mac". Is there a way to c# office add-in for mac? My requirement is to have a simple utility to add comments(read from user) to the selected text in the current word document. Also need the functionality of the OpenFileDialog. Mac Office does not (i.e. no longer) support COM/VBA automation. This means that you won't be able to use code from your existing Windows add-in. In order to automate Mac Office you would have to make use of Automator Actions. I am not very

Outlook Add-in not opening the default browser when clicking on link inside the addin

南楼画角 提交于 2019-12-01 11:21:49
问题 Background We are having users complain about links ( <a href="..."> ) from our Outlook addin not opening in their default browser. Some see that Google Chrome (default) is opening, which is the intended behavior. But some see that IE is opening regardless of what the default browser is. I suspect this may have something to do with the version of Outlook - but I haven't been able to pinpoint how and what. Maybe it has got something to do with the IE version on the computer since the addin

Using Office Web Apps, Can you open a document via webdav?

二次信任 提交于 2019-12-01 11:15:36
We're in the process of converting a legacy desktop application into a web enabled equivalent. However one feature is causing difficulty, editing MS Word documents. Current proposed solution is publishing the DOC and DOCX files via WebDAV and using a custom ActiveX component to launch WinWord and pointing it at a file via a URL. This works but it's limited in scope and the worlds moved on since it was conceived. Is is possible to use the new Office Web Apps to do this completely in-browser? So, still publish DOC files via WebDAV, but only to a web server hosting the Office Web Apps and

C# office 2010 automation

半世苍凉 提交于 2019-12-01 10:51:40
i'm trying to make a program that inserts data into specific places in existing word document and saves a copy of it. and i have no clue how to do it , and i cant find any good resource on office 2010 automating. can anyone point me in the right direction and/or give me some examples. thanks in advance. found a solution will add an answer later on Here is how i did it , it may not be the best way , but its working ! add references to the office interop using Microsoft.Office.Interop.Word; using Word = Microsoft.Office.Interop.Word; using Excel = Microsoft.Office.Interop.Excel; //defines new

StorageEvent does not work in Excel for Windows

别等时光非礼了梦想. 提交于 2019-12-01 10:49:10
问题 As some existing threads suggest (eg, one, two, three), current Dialog Box does not provide an API to send regularly messages from the host page (eg, task pane) to the Dialog box. So I have to look for a workaround: we reserve a variable message in localStorage , then we make the Dialog box check regularly if the value of message changes. It is like manually implementing an event listener by localStorage . Does anyone know how to implement that in a sure and efficient way (given JavaScript

How to display record data in a table in MS Access Form

醉酒当歌 提交于 2019-12-01 10:41:09
I am working in Offiice Access on a form. I notice that there are not a lot of controls available to use but I have a requirement to display data in a table like structure(not listbox or combobox). How can I accomplish this please? Actually, one of the truly great features in Access is what we call a continues form. A continues form is simply a form in which you can place any kind of control you want, the magic trick part is those controls will repeat over and over for you for each row of detail - the result is a grid, and I dare say one of the most powerfull grid controls avaialble - it is