Category "excel"

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?

Concatenate variable with leading zeroes with another string

Scenario I have an excel cell that contains value with leading zereos (Eg: 0002). My macro is copying this value to a variable called runNumber and pasting it i

Match text from two different workbooks, return value from different column

I have never been so frustrated with Excel in my life. I'm coming up against two major deadlines at work, and the only way to get the right info to the right pe

Match text from two different workbooks, return value from different column

I have never been so frustrated with Excel in my life. I'm coming up against two major deadlines at work, and the only way to get the right info to the right pe

VBA if cell on sheet 1 matches a cell in column I on sheet 2 then?

I'm trying to use a vba if statement to check if my cell H22 on sheet 1 matches a cell in column I on sheet 2. can someone please show me where im going wrong?

Group text strings from a list in excel

I am trying to make kws grouping using excel, but my formula is becoming gigantic. I was wondering if there is an easier way to do what I am trying to accomplis

Group text strings from a list in excel

I am trying to make kws grouping using excel, but my formula is becoming gigantic. I was wondering if there is an easier way to do what I am trying to accomplis

Java Apache POI Excel save as PDF

How can I convert/save excel file to pdf? I'm using java play framework to generate some excel files and now the requirement changes to pdf. I don't want to rec

Application.FileDialog vs GetOpenFilename: What is the difference?

I'm trying to teach myself VBA during the short holiday break. For my first module, I want to create a module that does the following: Displays dialog box. Pro

Is there a way to calculate a particular sheet in excel using python?

I need to calculate a sheet of interest in excel using python. There is a method to calculate the entire workbook using the following code. import xlwings as xw

How to get the "Last Saved By" property for workbook file

In Windows Explorer, if I right-click a file and choose Properties to get the file's Properties window, and then select the Details tab, there is a property lis

How to control image transparency?

I have an image in my worksheet I want to fade out. I am tying to set different stages of transparency for the image: Set myPicture = ActiveSheet.Pictures.Inser

VBA code to count distinct values based on multiple criteria

I have a data sheet "orders" which has data in the format order no Customer Sales Executive Order Status Order Date 211 nokia john cancelled 2

Runtime Error 1004 "Can't find the Paste property for the Pictures Class"

I have several script that have a part that is copying Charts and Pasting it in an area as Picture. Those scripts are working without any error when I look at t

Splitting Excel Data by Groupings into Separate Workbook Sheets

Background:I have a large 40MB XLSX file that contains client data which is Grouped over multiple levels, like so: Expanded - Not Expanded (sorry about the ter

Define a lambda function with infinite number of arguments

Some Excel native functions like VSTACK permit of infinite number of arguments, and they have an intellisense as follows: I would like to know how to define su

Historical Yahoo Finance API On Fritz Again?

I've been successfully using the Yahoo Finance API cookie/crumb technique to get historical stock quotes for many years. On April 28th, 2022, it broke, and exc