How to loop through rows of the Excel sheet using openpyxl?
I am using Python, Selenium, openpyxl in order to fill a form online. To fill the form I am taking values from specific cells on excel (.xlsx). (to test the code you can just create and excel file with...
View ArticleI need to update a cell in a spreadsheet with a value from a list box on a...
I am new to this forum and to VBA coding in excel. I have found many answers to my questions on this forum, so thank you all. This one is driving me crazy and I cannot determine what the issue with my...
View ArticleClipboard clearing itself after sub call inside button event
So, I have a worksheet that contains a table, and the worksheet is protected, so to allow users to paste data from the clipboard into the table I have a button that calls a sub which unprotects then...
View ArticleLoop through name list and if names exist in selection start after last name
I apologize, this is my first crack at Excel VBA so excuse my lack of knowledge! So I have a list of (currently) 3 names to assign to the days in column A in a repeating order in Excel. Currently my...
View ArticleSelecting data from multiple files and sorting them into another workbook
I'm trying to copy a selected piece of data from multiple files (vector) and putting them into another workbook as transposed data.Here is what I have (In multiple workbooks with different values each)...
View ArticleLook for unique values based on identical values in another column (EXCEL)
I have a spreadsheet with 2 columns (for simplicity sake). One column is USER and the other column is DATE. I want to add a 3rd column that will display YES or NO. If a user has multiple different...
View ArticleHow to visualise two values in one excel cell?
I have a score table similar to this:I would like to add visualisation such as a heat map or gradient colouring for better presentation. For example; 104-94 is nearly 51% success for the first player...
View ArticleProblem in reading Numeric value form Excel file using Apache POI
I have one Column in numeric and the value is 0.142 but convert to 0.14200000000000002This is my code , I use cell.getNumericCellValue() case Cell.CELL_TYPE_NUMERIC : vaTmpVal =...
View ArticleThe Attendance data by excel file imported into the attendance module have...
I have successfully imported the attendance data into attendance data of 11/13/2019 by excel file.And I have successfully imported the attendance data of next day too.But the data of day 13 have been...
View ArticleHow to copy shape within specific range and paste to another workbook and...
im new in n vba and require your help. Im working with a project right now but stuck in the middle. Two condition that need your support. 1. I have grouped shape in range c43:O63 and i want to select...
View ArticleHow do I correctly call a function/return a value in VBA?
Trying to code a method, and for every step I have to call another method (which I coded as a separate Sub) but it is not working. Sub implicit() 'Setting limits and stepsize x0 = 0 xfinal = 100 h = 5...
View ArticleFind overlapping dates of 2 different tables for each ID In Python / Pandas...
The 2 tables have multiple date ranges for each ID, the total number of ID around 40k. Its expected that each ID date range in each table don't overlap, but the overlap happens between the two tables:...
View ArticleExcel formula to look up a value using Row and Column values in a table
This is a two part question. I want to lookup a price of an item based upon the effective date of the price. I've seen the vertical effective date examples but mine is somewhat different. I have the...
View ArticleCopy paste a range in a specific column if the conditions are met
I would want to paste a range of names from one sheet to the other in a specific column H. I would want to paste these names across for only those items that are in "submitted status" in Column C....
View ArticleLookup value from a cell which has multiple values excel
I have an project billing report downloaded with First Name in column in A and Charge Code in Column B. There are multiple charges codes in one cell which determine whether it is billable or non...
View ArticleSearch for Duplicates across workbook and report cell address
I am basically try to create a VBA that finds duplicates across the whole workbook, highlights them red, and lists the cell address of the duplicate(s) in an adjacent cell. Not sure if this is...
View ArticleCrop order scheduling in excel
I am looking for some advice, I have a small micro green business and I have an excel sheet that breaks down the seeds, seed batch amount required, yield etc and so on.I want to create a tab where I...
View ArticleHow do I reference the value in an array as a variable?
For example, if I have the array:DeviceArray = Array("Sw","Cap","Gen","Reg","Tr","Br") And I want to initialize everything to a value such as 0, what would be the equivalent to writing a for loop for...
View ArticleHow to find the last row in a column using openpyxl normal workbook?
I'm using openpyxl to put data validation to all rows that have "Default" in them. But to do that, I need to know how many rows there are.I know there is a way to do that if I were using Iterable...
View ArticleHow to insert Excel Data into existing table in C#
Hi so I've only just began creating a exam scheduling system and I have an issue when inserting a Excel table into my data grid view. I've created some rows and columns for time however when i insert...
View Article