Category "excel"

Listbox option to send to all or specified recipients

I looked through a few posts but it didn't help. My code merges same emails into one email and also consolidates a table. Works if I were to send to all. Sub Se

Getting emails of recipients, and those in the CC list through VBA in Excel

I have zero experience in VBA coding, but I currently have a functioning code I copied somewhere online that successfully extracts certain details from each ema

How to find the parent userform of a control in VBA

This code is part of a class module. Private pImg As Image 'For example, pImg = U_Cursor.Img Public Property Let ItemID(ID As Byte) pImg.Picture = LoadPic

Find element using Selenium Basic for VBA

I'm trying automate data entry using Selenium Basic for Excel VBA. I've been able to log in to the website via locating the necessary element selectors on the l

Save my WB based on another workbook name in VBA

I have a code which is doing following: Prompt to choose external workbook Copying all the data from that wb Pasting exactly 1:1 in main wb Close and Save fr

VBA Get Max of First Dimension of Array

I need to get the max of only the first dimension of the array. WorksheetFunction.Max(shifts_array) returns the maximum of all dimensions but I only need it of

How to split row into column base on the cell value in power query

I have the data as below: I would like to have an output as below: I can use VBA to solve this, but Appreciate to any suggestion solve by Power Query. Could y

Implementing an Excel nested function or VBA code for numbering a table

I need to write some VBA code which could give me the result in the "Sorted Numbering" column in the below picture: The logic for the sorting is that filter th

excel365 - Conditionally format rows based on two string values?

Excel noob here. Lets say I have a sheet. . A B C D 1 Adam 3 No No 2 Betty 13 Yes No 3 Chris 12 No Yes 4 Dave 0 Yes Yes 5 Emma 1 No I want to conditionally h

How to to specify a word plus a date in a cell?

I want to specify a word plus a date in a cell. Sub CurrentTestCell() With Range("i2") .Value = ("Test") And Date .NumberFormat = "mmmm yyyy" End

Why do VBA and Excel disagree on whether two cells are equal? [duplicate]

I am trying to compare two cells in a table: The column "MR" is calculated using the formula =ABS([@Value]-A1) to determine the moving range

How to scrape a data from a dynamic website containing Javascript using Python?

I am trying to scrape data from https://www.doordash.com/food-delivery/chicago-il-restaurants/ The idea is to scrape all the data regarding the different resta

Can Excel Worksheet Events be made to work like that of Google Translate?

I am writing a program in the Worksheet_SelectionChange event to better understand the worksheet events, how it is fired and such. My program takes the string i

Java Excel/POJO Mapping in POI

Java 8 here using Apache POI 4.1 to load Excel (XLSX) files into memory, and write lists of Java beans/POJOs back to new Excel files. To me, an Excel file (at

CountIFS with multiple ranges and multiple criteria

I want to count all the instances that "a" occurs in column a AND "b" occurs in both column b and c. This would be in a match up style. Essentially I am trying

VBA Replace Whitespace with Underscore for All Files in Folder

I have a script that loops through all the PDFs in a folder and attaches them to an email. However if there are spaces in the pdf names it will replaces this wi

Pandas: Writing Dataframe to an open Excel File

I am trying to call this python script from VBA in Excel with the click of a button, it will read the data but it will not write if the Excel file is open.. Eve

Pandas: Writing Dataframe to an open Excel File

I am trying to call this python script from VBA in Excel with the click of a button, it will read the data but it will not write if the Excel file is open.. Eve

Creating a checkbox in XLSX using Apache POI (Java)

I need to create an Excel checkbox in an XSSFSheet, but I have found no obvious classes/methods for doing so in the Java Apache POI library (4.0.1), nor any exa

Django - export excel make it faster with openpyxl

I am using Django restframework and I am trying to export excel. My issue is the process is take a lot of time till it generates the excel file. The final file