Category "excel"

VSTO fatal error System.Runtime.InteropServices.COMException: 'Exception from HRESULT: 0x800A03EC'

I have used Imports Microsoft.Office.Interop and Reference of Microsoft excel is added to project/solution Following are declaration Public xlsfilepath As Stri

Search for value in a Range, if found, variable = 1

I'm trying to simplify a project where, actually, the user specify their own values in two fields (string1 and string2). Then, in another sheet, there is a form

Visual Studio C# Get sheet visible property

I'm trying to fill a dictionary with name as key, and an array with codename and if sheet is visible. This is where I ran into a conversion issue with sheet.vis

CellType cannot be resolved to a variable setCellType error Apache POI - Java

I was reading the Apache poi guide: https://poi.apache.org/spreadsheet/quick-guide.html And I decided to follow along and type the code into my Eclipse project

Create folder path if does not exist (saving from VBA)

I have a list of items in a sheet like so: My code goes through each row and groups the supplier and copies some information into a work book for each supplier

Automating Mail Merge using Excel VBA

I created a macro in Excel where I can mail-merge data from Excel into Word Letter Template and save the individual files in the folder. I have Employee data i

VLOOK-up without N/A and 0 results (extraction from 2 sheets)

I am trying to create an if-vlookup that retrieves data from 2 sheets with following specs: if the retrieve from the 1st sheet shows N/A and 0 results than vloo

How to Left-Align HTML Table, created from an Excel Range, in an Outlook Body?

I want to copy a selected range from Excel to the body of an Outlook mail (Office 2013). The table is pasting with Center Align. I want to paste with left-align

Excel Function to find a combination of numbers

I have a number on a spreadsheet which is a combination of many different numbers on a list. For example: A list contains: 100, 200, 250, 500, and 1000 The numb

How do I work out how many of each value in a column I would need to add up to a total value in excel?

So say A1 - A8 contain values 11, 120, 321, 435, 623, 765, 964, 1039, B1 Contains a value of 1375 how could use a formula or macro in excel to work out how many

moving VB.Net DLL for Excel to a cloud service on Azure

I've got a DLL written in VB.NET that provides Excel plugin capabilities. I'd like to move it into a cloud service. As far as I can tell, there's no way to use

Downloading and Processing .xls (Excel) files in Swift

I want to build an Iphone app that can download an Excel file and show the content in a table. I think i managed to download the file but the data i get looks

java.lang.ClassNotFoundException: org.apache.poi.ss.usermodel.Workbook

I'm trying to access an excel file the Apache Workbook module. The code runs perfectly sometimes, but mostly I get an error saying: exception javax.se

How can I write this Macro into few lines. I want to get rid of this multiple lines

Sub Flow_Drop() If ThisWorkbook.Worksheets(2).CHECKBOXES("Check Box 1").Value = xlOn And ThisWorkbook.Worksheets(2).CHECKBOXES("Check Box 5").Va

Change format of all data labels of a single series at once

I have an Excel 2010 chart, with several series. I have added data labels to one of the series. I want to change the font size of all labels of that series at o

Excel - float number cannot be summed

I have a bunch of values like 0.5, 1.0, 1.5 etc. I want to write a SUM function for those cells but the value is 0. If I use integers the summing works so the

xlsxwriter: text_wrap() not working

I'm creating and formatting excel files and want to wrap the text in column. I found the method in xlsxwriter which is text_wrap() but when I use this method, I

vba set combobox value to multiple cells in multiple sheets

I have 3 combo-boxes and an OK button. I need to set the value of multiple cells in multiple worksheets equal to the value of the combo box selection. Dim choic

Excel XLL - how to register (xlfRegister) a function via its export ordinal?

I'm building an XLL for Excel, and am trying to register functions via XlfRegister. According to Microsoft's documentation , the target procedure to be invoked

How to get a custom document property using a formula

In an Excel formula, is it possible to get a custom document property without an external add-in or help from VBA code?