Quantcast
Channel: Active questions tagged excel - Stack Overflow
Browsing all 88809 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

How to use fonts having space in C# windows form to create excel workseet?

I am using an IEnumerable variable to create an Excel worksheet in C# windows form application. The problem is that I can set created worksheet font if the font name has 1 word, ex. 'IRNazanin', but...

View Article


Image may be NSFW.
Clik here to view.

How can I import texts with superscripts in illustrator?

I am importing illustrator variables from excel file(converted to .xml) but it won't convert superscripts. This kind of superscriptCan I convert superscripts too. Or is there any better way to import...

View Article


Im trying to search for data in a pivottable and display in a msgbox

So, I have an Accounting Sheet in which names are entered on a daily basis. I am trying to write some VBA to search those names, one by one after they are typed in another sheet which is an...

View Article

Create increment value in Power Query based on the occurences of each value...

I have a Table of codes in Power Query and the filenames of their pictures. So codes are duplicate values (and more than 5 some times).I want to create column that contain an increment number based on...

View Article

Filling a cell with a solid color, using OpenXML that preserves otherwise...

The following takes the format of existing sheet sSheet and creates a red font (along with some timestamp content) at A19:using (SpreadsheetDocument document = SpreadsheetDocument.Open(sPath, true)) {...

View Article


How to set cells' background?

How to set the background of several cells within a row (or of a whole row) in OpenXml?Having read several articles:Coloring cells in excel sheet using openXML in C#Advanced styling in Excel Open XMLI...

View Article

How can I automatically move rows and cells of info from one sheet to another...

I am new to Apps Script and need to move order information from one sheet to another sheet that tracks our inventory numbers. Here is a link to an editable example sheet that I have...

View Article

How to count how many times each value appear

If I have an line like: 15, 15, 9, 10How can I count how many times each value appeared? In this example, it would be like:15: 2, 9: 1, 10: 1or15: 50%, 9: 25%, 10: 25%I don't know if it can help, but...

View Article


Send email using excel VBA - Recipient and Body depends on different conditions

Hi Im working on a excel worksheet. I update each row once in a while. The last step in the row is send an email based on each cell values.Below are the different columns that I use.1.Name 2.ID 3.DEP...

View Article


Passing arrays through ParamArray with user-defined functions

New to VBA. I'm having two issues with the following code for user defined functions. I can't figure out how to pass arrays through ParamArray. 1) The printed type from bool() is 8203 as it should be....

View Article

Sorting multiple columns using VBA

I have to sort columns in Excel on their values.I worked out the following procedure:With calcCalculations With .Sort .SortFields.Add Key:=Range("BR2:BR5000"), SortOn:=xlSortOnValues,...

View Article

I am trying to read an excel file using the Apache P.O.I library, but when I...

I am reading an excel file: https://drive.google.com/drive/u/0/folders/0AIRmPm_DPjucUk9PVAFor now, all I want to do is print to the console each entry in this excel file in the format of: zip code -...

View Article

Writing dataframes to multiple sheets in existing Excel file. Get 'We Found...

I'm creating a few dfs based on existing excel files. I'm then writing each of those dfs to their own separate sheet in a different (existing excel) file. Script executes fine, but when I open the...

View Article


How to click the hyperlink ( tag) in Internet Explorer through Excel VBA?

I want to click the hyperlink (<a> tag) 'abc' in Internet Explorer through Excel VBA.I tried getElementbyTag/getElementsbyName/getElementsbyClassName.<a href = 'xyz'> abc </a>Dim...

View Article

Assign value without formatting

I'm looping through workbooks to aggregate the data to one sheet. The data on the various source sheets is always in the same columns but the rows will vary.I'm assigning values but conditional...

View Article


How to copy first and last row of each table of Word file to an Excel sheet?

There are around 150 tables in my Word file. Each table has six rows and two columns.I need to copy the first and last row values from each table to an Excel sheet.The first row will have my table id...

View Article

Image may be NSFW.
Clik here to view.

How to sort out discrete cells on the cell text color

The first image above is the original situation, while the next image is the result after vba sorting code.Question: I have tried code below, but cant figure out how to make these work. I wish to...

View Article


No error message available, result code: E_FAIL(0x80004005)

My application uses windows authentication. user login with their username/password and upload an excel sheet. The issues is while uploading the excel ,one user able to upload the excel file but...

View Article

Excel 2013 : multiple pivot tables on one sheet (BELOW) each other

I need to create dashboard with multiple pivot table in the same excel sheet one below the other.The problem is that When the Pivot Table refreshes it may be longer (more rows) so it gives a warning...

View Article

Using CountIF with dates before 01.03.1900 in Excel/VBA

I have a strange problem with Execl. The value of a specific cell ist 01.01.1900, the format of the cell is date-Format. When I try to count how many instances of 01.01.1900 there are via CountIf the...

View Article
Browsing all 88809 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>