Category "excel"

Run along the rows in Excel

I have new entries that go into the Excel table and I constantly want to run to the last row number but it does not work excel.Row.Count() this the problem for

Locked Excel Cells Becoming Unlocked When Re Opened

I have a Blueprism process which is locking a column and protecting the worksheet. The cells are then locked. When the file is saved, closed and re opened the c

Use python to remove blank cells from column and shift populated cells up

I have this excel file and I would like to delete all blank cells in columns A and shift the populated cells up using python. Not sure how to do this, any advic

LabVIEW generated Excel files unable to be read by pandas.read_excel

I'm having an issue when I save LabVIEW outputs as .xlsx files. When I try to import with Pandas I get the following error: expected <class 'openpyxl.styles.

How to properly get if a number is between two given numbers in excel?

Given this rule to follow: And I have some value to check from this: Where cell AA727 is a result of some calculations which I already formatted into a number

Copying from a range of cells with openpyxl, Error: Colors must be aRGB hex values

I am copying a range of cells with openpyxl from one workbook to another with the following code: import openpyxl import os #Current path path = os.path.dirnam

Differences in Example and Excel Calculations

We are trying to produce an Excel file to calculate a population bioequivalence test as per the FDAs Budesonide Product Specific Guidance (PSG), which can be fo

How to subtract multiple cells

I have the above cells and i want to substract each individual row . i.e. 137.61-137.61, 132.88-270.49 and print each one of the results on the respective row

Export Excel tabs and set page formatting at same time

I have some existing VBA code that works great for exporting all tabs in my workbook as individual sheets named by the tab name. I just want to be able to set

How can I auto populate several excel sheets from other Excel files

I am currently working on a power bi dashboard that uses an excel file as a data source. I want to auto populate the excel file with new values from existing ex

Pivot table data source automatically update

Pivot table data source Please see the above image. I am trying to dynamically update the pivot table data source whenever a new sheet is created. Essentially I

Excel add image to workbook from URL using shapes.AddPicture VBA Macro

So I have the following code that works correctly and uses a column with URLs to add the images to the next column. The problem being that if you send it to so

How do I avoid IFERROR testing for empty arrays in FILTER function?

I want to count the results of a FILTER in excel. Usually I do something like IF( IFERROR( SUM( FILTER( range, condition)

Converting .xls to .xlsx files with VBA doesn't seem to reduce size

So, I have a bunch of old .xls files that I want to convert to .xlsx files for the sake of disk space economy. Doing it one-by-one is out of the question. I see

Is there a way to change the lookup_value of the Macro code with the identified cell address?

I need to change the lookup_value of RC[-2] with the address Cells(3,2) on the macro code below. Range("D4").FormulaR1C1 = "=VLOOKUP(RC[-2],'[Reference Workbook

Runtime error 1004 Method OnKey of object '_Application' failed

the following code causes runtime error '1004' Method OnKey of object '_Application' failed! Any suggestions? Sub MyAchieve() Dim col As Integer Dim row As

VBA in Outlook to pull specific data into excel

I need some VBA code in outlook to save specific lines of data from emails as per below into an excel folder - see sample excel table below. I need the code to

Process to Import specific text in excel with VBA

I'm trying to import many tables into excel (with fixed width option selected) and I would like it to paste it to certain areas as a function of "i", see below:

finding cell value and delete it in excel vba

I want to return the value of the cell it's found in VBA and clear all of it's content with another 3 rows below it as well, but I'm currently stuck. I can find

Excel Time Conditional Formatting

I have exported a csv list with start tine and end time. After that I have created a new column with the duration differences. How can I make the cell red for &