Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [excel]

Only for questions on programming against Excel objects or files, or formula development. You may combine the Excel tag with VBA, VSTO, C#, VB.NET, PowerShell, OLE automation, and other programming related tags and questions if applicable. Do NOT use with other spreadsheet software like [google-sheets].

0 votes
0 answers
7 views

Excel - Find all duplicate entries in Column A (and its Row), copy each dupe entry so they're grouped together, to new Spreadsheet

My apologies for this and this is because I need a solution relatively quick, and I have very little Experience in Excel Functions, VBS, etc. meaning, I won't hit a goal I need very soon. My goal Move ...
Waltermelon's user avatar
0 votes
0 answers
10 views

Accessing a sheet from a different workbook [duplicate]

I have 2 workbooks, one hidden and one the user can see. The hidden workbook contains all the code (including the line below) Note: codeName is the code name of a sheet in the active (non-hidden) ...
jsgv's user avatar
  • 21
0 votes
0 answers
5 views

Office Script to Copy Rows From One Worksheet To Another

I have a shared excel workbook on SharePoint that is being used by a few users. This sheet tracks reach outs to counties across the United States. When a reach out turns into a lead it then gets ...
ThisCluelessGuy's user avatar
0 votes
0 answers
17 views

Average of Conditionally Formatted cells by color

I have a dataset (below) in excel that is conditionally formatted using the excel pre-set GREEN-YELLOW-RED color scale. What I want to do is find the average based by color of cell...and the whole ...
em4019's user avatar
  • 43
0 votes
0 answers
22 views

Passing an array of objects from C# to VBA Excel

I have a C# console application and Dll. I registered the dll as COM via interop. I used the COM Visible property, GUID etc Set Assembly Information, Build information to register it to COM I ...
Dee's user avatar
  • 1
0 votes
1 answer
22 views

VBA Hlookup multiple rows

I'am trying to use HLookup with vba, but when i try the vba code i can't apply it to multiple rows, it can only be used for single rows "J2", i need HLookup vba code for many rows "J2&...
Caya's user avatar
  • 13
0 votes
0 answers
23 views

VBA Different cells accourding to the ComboBox Value

tPrivate Sub CSave_Click() On Error GoTo ErrorHandler ' Variable Definition Dim lr1 As Long, lr2 As Long, lr3 As Long, lr4 As Long, lr5 As Long, lr6 As Long ' Last Row ...
Onur's user avatar
  • 1
0 votes
1 answer
22 views

Excel VBA skip empty cells

I have a code to select a specified range and paste it into an e-mail. I would like it to skip copying blank cells within the range and paste only the cells that contain data. The specified range ...
kyle245's user avatar
0 votes
2 answers
25 views

Sum values based on XLOOKUP

the table below shows a list of employees and number of hours they have worked in that week. I am trying to come up with formula that would return the total number of hours worked per employee per ...
Alytas's user avatar
  • 49
0 votes
0 answers
18 views

excelWB.write(fileOut); gives IllegalArgumentException

I am trying to use an excel to write the into new file using Apache POI. This is the method code, import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFSheet; import ...
Lyrk's user avatar
  • 1,988
0 votes
0 answers
53 views

Copy File Names to Destination File

Hope all good with everyone. I am trying to copy/paste file name to my destination workbook's column A. Below is copying data from all workbooks from a folder and pastes them to my masterfile. ...
metalscuba's user avatar
0 votes
1 answer
12 views

PHPSpreadsheet, how do I set different layout for each series in a composite graph?

I am trying to create charts in excel using the PHP library PHPSpreadSheet. But when I generate a composite graph with multiple types of graphs together, I get overlapping data labels. Stacked bar + ...
Ankit Singh's user avatar
0 votes
0 answers
37 views

Why data that are being written to excel are not starting from the 'A' column?

I'm using pandas to copy data from one excel to another and the data are being copied just not at the right place. I have this function that reads the data: def updated_file(self, progress_bar): ...
Jugert Mucoimaj's user avatar
0 votes
0 answers
17 views

excel found a problem with one or more formula references in this worksheet in a new workbook after only inserting one table

I created a new excel workbook and inserted one table. When I fill in a cell in the row below the table then due to autoexpansion the table is expanded with one row. Exacty how it supposed toe work. ...
Bart Groot's user avatar
0 votes
0 answers
21 views

DoEvents whilst a Time Delay Macro is running

I have a Macro in an excel sheet that selects a value in a slicer, I had a pivot which was converted to OLAP. When selecting a value in the slicer there is a short period of time where all the cells ...
MBrann's user avatar
  • 235

15 30 50 per page
1
2 3 4 5