Click here to Skip to main content
15,881,173 members
Everything / Productivity Apps and Services / Microsoft Office

Microsoft Office

Office

Great Reads

by yuvalsol
Create professional-looking Excels (Filters, Charts, Pivot Tables) with EPPlus
by bollwerkj
This article shows you how I got Excel to work using C++/CLI in a Windows Forms Application
by Bert O Neill
Query Hadoop using Microsoft oriented technologies (C#, SSIS, SQL Server, Excel etc.)
by The Ultimate Toolbox
The Ultimate Toolbox supports Office XP, Office 2003, and Classic application skins

Latest Articles

by Erik Drent
A simple POCO mapper for EPPlus
by NewPast
Indent code, add line numbers, err handling, add number to words and more, expose a .NET library to Microsoft Word, Excel, Power Point macros writers and Access VBA code
by ToughDev
How to convert OFT to .NET Windows Form in VS
by ChrisK23
A method to automate Chrome (based) browsers using VBA

All Articles

Sort by Score

Microsoft Office 

23 May 2018 by yuvalsol
Create professional-looking Excels (Filters, Charts, Pivot Tables) with EPPlus
24 Jul 2008 by bollwerkj
This article shows you how I got Excel to work using C++/CLI in a Windows Forms Application
29 Dec 2015 by Bert O Neill
Query Hadoop using Microsoft oriented technologies (C#, SSIS, SQL Server, Excel etc.)
24 Aug 2007 by The Ultimate Toolbox
The Ultimate Toolbox supports Office XP, Office 2003, and Classic application skins
21 Jan 2015 by Syed Umar Anis
ExcelXMLExport is a Microsoft Excel 2010 / 2013 Add-in that generates XML data from Excel sheet.
12 Apr 2016 by bradyguy
An end to end view of how to integrate Jira REST API's with Excel.
30 Aug 2017 by simonp_ca
Use Excel worksheet's cells as pixels to render real image (for fun and experiment)
11 Dec 2011 by Manoj K Bhoir
ContextMenuStrip Control with Microsoft Office like Visual Style using VB.NET
7 Jul 2013 by Behrooz Bahrameh
This tip describes how to read Excel files and make an array of objects from Excel.
16 Jul 2013 by RB Starkey
How to create a tree-view control using an Access table and form.
18 Nov 2023 by Erik Drent
A simple POCO mapper for EPPlus
3 Apr 2013 by Komin Dmitry
How to write iPhone application to authenticate to SharePoint and read the contents of a list provided by the SharePoint REST API.
20 Apr 2015 by Mario Z
Hi, try this:var application = new Application();var document = application.Documents.Open(FileName: @"C:\Sample In.docx");var tocRange = document.Range(0, 0);var toc = document.TablesOfContents.Add( Range: tocRange, UseHeadingStyles: true);toc.Update();var...
3 Mar 2017 by Dracula
Run all rules for all accounts on all messages; also useful as Outlook Rule debug tool.
16 Apr 2013 by Muhammed Anseer K K
Creating a metro style application with WCF
20 Feb 2014 by PallavSingh
Converting data column (contains OLE db image binary Format) to image file (.jpg)
16 Jan 2016 by Glenn Lloyd
This is an alternative for "A Simple List Class for VBA Projects"
7 May 2011 by izualx
Justin‘s VSTO Knowledge Base: 01, First VSTO Application
29 Jan 2012 by rish_wins
Office Documents View using TreeView
8 Nov 2012 by aalvarez13
This is an alternative for "Microsoft Office Version Detector".
10 Jun 2014 by Anamera
This XSLT will output an Excel worksheet containing a CSV type of record collection in a more usable XML format.
22 Dec 2014 by Turay Melo
This is an alternative for "Creating an Outlook 2010 Add-In"
25 May 2018 by Clifford Nelson
VBA Code that will take a string and attempt to pull out the company name, street address, city, state, zip code, phone number, and web address
23 Feb 2009 by David Meng
Introduces a way to create a key column in a SharePoint list.
17 Jun 2011 by VallarasuS
Here is how you can achieve Gradients used in Office 2010 Buttons with a glow at the bottom.
19 Jul 2012 by pramod.hegde
Merge slides from multiple presentations to one at a desired position
5 Feb 2013 by Gokulnath007
To get instant control over Outlook and various operations of outlook.
25 Nov 2013 by vivekthangaswamy
This is an introduction to Office 365 (Administration center)
12 Jan 2015 by Balakrishnan Dhinakaran
Add email from Microsoft Outlook to SharePoint list using simple macro, JavaScript
4 Feb 2015 by Jabeen Begum
Create a timer job using SharePoint App model, CSOM and azure webjobs
4 Mar 2015 by ZurdoDev
It's I10, as in column I row 10.In fact if you go into edit mode in a cell like that you should get highlights around each of the cells that are involved and you should see all 3.The formula is subtracting cell I10 from cell C10 and then subtracting that from cell F10.
19 May 2015 by algor-AG
VBA: Excel / Word programmatically save document as PDF encrypted / password protected.
16 Dec 2015 by maxitone
Use this if you're working in a fullscreen RDP session - for example - to see new e-mail or appointment alerts
22 May 2017 by Bassam Abdul-Baki
This allows you to display in Excel column names other than A, B, C or 1, 2, 3 (R1C1) format.
17 Dec 2007 by alex turner
Excel 2007 does not seem to support DBF files, here is a VBScript workaround.
7 May 2011 by IncredibleRam
hello there following links may help you sort out your problem.Convert Office Word Document to HTML and display it in browser in ASP.NetFile Denial - Let authorized users download files from your site - and keep unauthorized users out!Protect Your Downloadable Files Using HTTP...
6 Jun 2012 by Scott Traube
Microsoft Lync auto dial and auto passcode.
27 Oct 2012 by hevesir
Timer clock for PowerPoint 2007 (PPT add-in).
14 Feb 2014 by PopeDarren
Update Rules With Exception on Reply and Forward
11 Apr 2014 by Maciej Los
You did not provide enough information about your issue, especially about the reason of that behaviour. You did not provide your code too. Well, we can only guess...First of all, i'd suggest to read about Using early binding and late binding in Automation[^], Early and Late Binding (Visual...
24 Jun 2014 by Bhis
Back in 2008, I was doing some freelance work and had a chance to work on this MS Access Report project. The client dealt with employee benefits, claims, and payment reimbursements.
17 Jan 2015 by Liju Sankar
Read Loud Email Sender and Subject as soon as you received an email in OUTLOOK
14 Dec 2015 by bradyguy
Don't send your mail out using the wrong account
2 Jul 2016 by Six Hat Solutions
Easily Send Emails From Your Microsoft Applications Using VBA and the SendGrid API
25 Oct 2016 by B. Clay Shannon
An as-simple-as-possible real-world example of creating a pivot table using Excel Interop (C#)
19 Jun 2009 by Rolf_atSC
This article shows how to automate Outlook using VS2008 rather than VSTO or VBA
14 Mar 2010 by Richard MacCutchan
Office.Interop...
23 Jul 2010 by atverma
In this blog, I’ll focus on Content Controls and Open XML 2.0 SDK from the experience I gained in the last 2 months.
25 Feb 2011 by Joel C Graff
A method for managing complex, event-driven interactions between controls
9 Mar 2011 by Sergey Alexandrovich Kryukov
As you're new to the topic, I'm not sure you need exactly Word automation, which is only one approach to Word-related programming. Better start from this point: http://msdn.microsoft.com/en-us/library/ee342218.aspx[^].—SA
24 Jan 2012 by atverma
Utility to Generate Word Documents from Templates Using Visual Studio 2010 and Open XML 2.0 SDK - Part 4
16 Mar 2012 by Sachin Chandanshive
Read / Write data from CSV to Excel
30 Apr 2012 by Pandvi
Try the following codes: do { rowIndex = 2 + index; row = dt.NewRow(); row[0] = Convert.ToString(((Microsoft.Office.Interop.Excel.Range)workSheet.Cells[rowIndex, 1]).Value2); row[1] =...
8 May 2012 by OriginalGriff
If you mean the borderless form that appears when you start them, and stays until they are fully loaded, they are called Splash Screens, and a simple google will get you loads of ways: https://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=splash+screen+c%23[^]The first two links are here,...
13 Aug 2012 by Sachin Chandanshive
Addin Containg Useful Macros & Easily Accessible From Ribbon Menu
22 Oct 2012 by Akinmade Bond
Microsoft Agent says:Beginning with Windows® 7, Microsoft Agent will not be included or supported in future versions of the Microsoft Windows operating system. We encourage Microsoft Agent application developers and redistributors to evaluate their activities in light of this decision.But if...
31 Jan 2013 by Mike Rosen
Export OLEObject (Word Document) to Word Document.
14 Feb 2013 by Sergey Alexandrovich Kryukov
To start with, please see my past answers. Some part of them is devote to the cases when you want to work with Office documents directly. I did not do it (why?), but I know where to get some code. Please see:Convert Office-Documents to PDF without interop[^],Hi how can i display word file in...
28 Nov 2014 by ehab_nour
Processing SAP generated Excel file as a report to get some information
22 Aug 2014 by brpulsani
How to create folders using data from Excel file
9 Nov 2014 by Allen C. Copeland Jr
A guide on querying Excel ListObjects (Tables) by creating a state-machine out of synthesized objects that resemble a query language.
29 May 2015 by Richard Deeming
Considerations for server-side Automation of Office[^]Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office...
16 Sep 2016 by axuno
Take this ready-to-use VBA module for MS-Outlook, that lets you export all mail messages selected in the current Outlook email browser to the file system.
12 Nov 2015 by B. Clay Shannon
How to Auto-Widen Excel Columns but then Override Over-long Columns, Shortening them
13 Dec 2015 by Philippe Herremans
This tip describes a VB.NET program to implement Custom task panes in Excel 2010 and 2013 using Excel-DNA to integrate .NET into Excel.
17 Aug 2017 by Dennis Wu CA
A demo that generates a simple Excel spreadsheet with subscripts and superscripts
1 Sep 2017 by Britto selva pandian J
Things to remember while using Rest API calls on SharePoint hosted App for Office 365/SharePoint Online
31 May 2018 by Darryl Bryk
A C# method is discussed for using bookmarks in Microsoft Word templates to automate reports.
22 Aug 2018 by Chris A. Johnson
By Chris Johnson @ kolaberate.com Integrating SharePoint with Out Systems Introduction This article is about accessing your Office 365 SharePoint application via the SharePoint API to fetch or update its resources specifically using REST API services from OutSystems.
17 Jun 2019 by CHill60
This is simply achieved using VLOOKUP. For example in cell B2 of your empty sheet put the formula =VLOOKUP($A2,Workers!$A:$C, 2, 0) and in cell C2 of your empty sheet put the formula =VLOOKUP($A2,Workers!$A:$C, 3, 0) Note that it is better (quicker) to use INDEX and MATCH[^] if you have a lot...
3 Mar 2009 by Won Dong
Process and toolkit to migrate data to Microsoft SQL Data Services
10 Jan 2010 by Rod Kemp
The easiest way to get the format for a meeting request is to create the meeting on Outlook but don't send it, instead save it as an ics file and this will give you the format.As you can see it is a bit more complex than an simple appointment also you may have to experiment a bit especially...
17 Jan 2010 by Danny Hauptman
Using XLINQ to search through a Word2007 zipped document.
11 Mar 2010 by Vineeth P Joseph
Its not very difficult to add multiple Icons in system tray using c#.We can also handle the events . First of all you create two(or more) NotifyIcon in your application.private System.Windows.Forms.NotifyIcon NotifyIcon1;private System.Windows.Forms.NotifyIcon NotifyIcon2;After that...
9 Jun 2010 by #realJSOP
Why don't you create a master copy of the (empty?) table, clone it when you need to, and add the cloned table to the document. Not knowing exactly why this is a problem, I can't suggest anything better.You could also just create a class that builds the table for you with the data you...
18 Sep 2010 by LloydA111
http://www.gmayor.com/clear_recently_used_file_list.htm[^]
6 Dec 2010 by carl.b.anderson
The SharePoint List Synchronizer for Excel 2007 and 2010, presented here, allows Excel users to open SharePoint Lists in two-way sync in 2007 and 2010 versions. This very powerful feature used to work directly in Microsoft Office Excel 2003 but the update ability was deprecated in 2007.
18 Jan 2011 by Orcun Iyigun
You can deploy forms server without deploying sharepointhttp://office.microsoft.com/en-us/formsserver/FX100490391033.aspx[^]also that link might help;http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Q_23064445.html[^]
15 Feb 2011 by Alok d gr8
Hello,I am trying to convert a jpeg image to text using OCR library with the source code provided on below linkConverting Images to Text using Office 2007 OCR, OpenXML and Speech Recognition[^]But i get the below annoying exception every time i do...
25 Feb 2011 by Espen Harlinn
Excel is a desktop application - using it like this is usually not a bright idea since IIS runs as a windows service - you usually don't have access to the windows station[^].Use something like EPPLUS[^] to access data from the spreadsheet. You can use iTextSharp[^] to create a pdf, or a...
1 Apr 2011 by pankajupadhyay29
check following links hope it will work for you--Using Custom XML Part as a data store[^]A discussion on msdn on same problem[^]
14 Apr 2011 by Richard MacCutchan
saRet.Create...
14 Apr 2011 by Espen Harlinn
You might find this interesting:ExcelFormat Library[^]RegardsEspen Harlinn
25 Apr 2011 by Abhinav S
See http://msdn.microsoft.com/en-us/library/3295w01c%28v=vs.80%29.aspx[^]http://msdn.microsoft.com/en-us/library/8553caee%28v=vs.80%29.aspx[^]
26 Apr 2011 by Nish Nishant
I reckon your question is why do we have project wizards for Office based projects in Visual Studio. If so, their primary use is to create add-ins for Word, Excel, Powerpoint and other Office applications. You could do that without the wizards too, but this way is easier.
7 May 2011 by Wonde Tadesse
To be honest Microsoft Office automation is not recommended. Read Recommendation for sever side automation of Office[^].In order to view MS word online then you may have to go with third part controls. Like Telerik Editor control.[^]. It just like monster resume upload control. Or use google...
7 Jun 2011 by OriginalGriff
Your first port of call should be Google: It found this as the top site when fed your error message:http://support.microsoft.com/kb/141373[^]
26 Jun 2011 by Alimjan Yasin
I used the replacing methods, since I don't know how to save the format of word file ,it is better to analys it at sentences level and replace every single sentences by its translation. one more reason is there is no avaiable solution for that perpouse.
26 Jun 2011 by Slacker007
Every MS Office product has an object model. A table in a Word document is nothing more than an object of a class. Google the object model for a Word document and you will see a lot of hits for this...I don't know all of them off the top of my head. I usually do Office Automation through VBA...
9 Nov 2011 by Trajan6
Just a little bit late, but I wouldn't do it with an external dependency like an XML-File.My suggestion is:private static void AddSettingsToMainDocumentPart(MainDocumentPart part) { DocumentSettingsPart settingsPart = part.AddNewPart(); settingsPart.Settings = new Settings( ...
19 Jan 2012 by Dagma D
I want the code that will extract the cell values of an excel file???Plz help!!!
25 Jan 2012 by YKK Reddy
Hi,i solved using the below mentioned code.SpreadsheetDocument spreadSheetDocument = SpreadsheetDocument.Open(/* Excel File Name */, true);WorkbookPart workBookPart = spreadSheetDocument.WorkbookPart;List lstComments = new List();foreach (WorksheetPart sheet in...
31 Jan 2012 by Sergey Alexandrovich Kryukov
Strange idea, but looks pretty disturbing. Please see my comment to the question.Let's see if it is possible to investigate.The *.docx document format is Open Office XML, it is open and standardized under ECMA-376 and ISO/IEC 29500, please see http://en.wikipedia.org/wiki/Docx[^]....
8 Apr 2012 by Brainy Girl
hi,i have Microsoft 2010 installed on my win7 pc, and i want to remove it and install Microsoft 2003 instead.can this operation make problems to me or not.
15 Apr 2012 by pramod.hegde
Convert *.potx file to *.pptx file.
30 Apr 2012 by Mohamed Mitwalli
Hi , check this linkExcel Data into datatable[^]Best RegardsM.Mitwalli
23 Aug 2012 by pramod.hegde
ChartSpace object is the main object in chart creation. Chart object and many properties to it are added later point of time.Whenever you are dealing with Office Open Xml please have Open XML SDK 2.0 Productivity Tool installed in your system. Create a chart in excel manually. Open up the...
29 Aug 2012 by Joan M
This is due to the "new" security concerns of apps sending mails without user concern.In order to send e-mails I've tried to use that extended API, but at the end this requires you to have a mail client installed and the extended api will be focused on that client so the day you'll change...