Category "excel"

How to initialize a listbox to a desired starting point in the list?

I created a macro for Excel which opens a list of all visible sheets in a workbook and goes to the desired sheet as you scroll through the list. The idea is to

Copy multiple ranges of different length in a loop that searches every Excel file in subfolders and paste on new master worksheet

How do I copy/paste multiple ranges? The code returns the cell A1. What I need: 1- Search and open all Excel files in a folder with subfolders 2- Copy specific

Add reference to closed workbook and be able to open it

In the sub workbook_open I'm opening 4 workbooks in the background to be able to have references to them without having them "open". (they are not visible) But

Loading Excel row with data using ListObject

I am attempting to load rows in an Excel worksheet, "List of Golfers", from worksheet "Players". On the Players worksheet I have a table named "GolfTrip". On th

VbaCodeCleaner appears as though Focus Rectangle Thicker is checked when it is unchecked

I’m running Excel 2010 & Excel 2003 on a Windows 10 version 21H2 machine. I noticed a change in the appearance of Rob Bovey’s VbaCodeCleaner. A

Excel / PHPSpreadSheet : LOAD and SAVE WITH Charts, unexpected argument

I'm trying to load my excel file through PHPSpreadSheet library including the charts. At the reader step, everything is working fine and I could without difficu

Apache poi excel writer works in ide but not in fat jar? java.io.IOException: Your InputStream was neither an OLE2 stream, nor an OOXML str

The code works perfectly fine in IDE but not in normal .jar or in fat .jar? The program works perfectly fine otherwise. Also non-fat .jar doesn't work either. T

How to set the PrintArea property of the PageSetup class?

I'm trying to print an area of a page to pdf. I select the range but when I try to set the print area I get: Run-time error '1004': Unable to set the print are

Vlookup for duplicate status

I've been looking for different approaches to fix my problem, whether it's with vlookup, index, index /match but couldn't figure it out yet. I'm trying to list

Laravel export excel from view, prevent spacial characters error

I use maatwebsite/excel export from view, but when my column value contains any special characters like "&", export start sending error "Failed to load ....

Importing Data from a Password Protected Website

I've the following macros working independently of each other (sort of). I need them working together. First I import data from a URL that points to a CSV file

Insert rows based on cell value and swap cells

I am working on a project to do the following. Data I get from ERP: After running the code it should look like: I want to implement this logic If there is a v

Change Values & Color Based on Day

I have this timesheet and based on a day in the row (F8:AJ8) I want its whole column to highlight with yellow (Color index = 44) if it = "Fri" and change their

Write each row individually and add date in empty column

I have the following code in an Excel VBA module that looks up the ProjID named cell on the worksheet, selects columns needed for output from dbo_Proj_Dash Acce

Reference Cell value assign in particular cell

Is it possible to get this output in R? =INDIRECT((CONCATENATE(V4, AH4)),TRUE)

How do I create full path given index level and corresponding folder name?

In Excel, I have index levels (1, 1.1, 1.2, 1.2.1, 2, etc.) and corresponding folder name. I want a function to be take each level and concatenate corresponding

Excel conditional formatting with gradient colors on Mac

I was trying to achieve this on Excel, which markers all cells containing "A" a red/green background with a gradient pattern. I achieved this in the past but no

Analyzing multiple columns in power query

I wish to generate the Most common, Highest and Lowest values from the following data: I have also added an additional column to handle text comments. M Code s

Is UserInterfaceOnly=True setting now Saved with the workbook? (Worksheet.Protect Method)

It was known that UserInterfaceOnly:=True setting was not saved with the workbook. So every time a Wb was opened, the Worksheet.Protect method had to be used wi

How handle mass data in Excel (e.g. powerquery)

please dont hurt me for this question... I know it is not the ideal way to handle mass data- but I need to try... I got a folder with 10 csv Files which are alw