How to copy and transfer data into multiple worksheets under its own...
I have a huge challenge here & what I am going to asked may sound impossible. "Well, for me I should say".Here are the steps:Step #1: The data below is updated automatically into excel worksheet....
View ArticleCreate new excel file using Oledb genrates corrupted file
I'm trying to generate excel file using oledb(i need to create an api and cant use microsoft.office.interop.Code: string filePath = "C:\\abc.xlsx"; string connString =...
View ArticleDeleting an Excel row after processing in PowerShell
I am trying to delete the 2nd row after the loop is complete.The idea is that if something goes wrong whilst the script is running, I want to be able to delete the rows it has already processed and...
View Articlebuild an excel add-in and use APIs from external service in it
I'm using excel web add-in visual studio version and I want to login to external service to use the APIs for this service in my add-in.The add-in should support excel version 2013 and later.Thank you.
View ArticleUsing offset to copy formula down a column
I am trying to apply a formula where I need to refer to a few cells to the left of the formula cell and a few cells to the up and apply the formula down the column for quite a few rows.I am trying to...
View ArticleHow to copy data from one sheet to another while skipping empty cells -...
I'm using python to format an Excel spreadsheet. I need to copy data from Column L in Sheet #1, "Main", and paste it into Column A in Sheet #2, "Data". I've gotten this working, but I also want to skip...
View ArticleReading conditional formatting [closed]
A cell is conditionally formatted to have one of 3 icons depending on the value in the cell. I want to make a function in VBA, that returns the icon value/number/identifier (something to identify the...
View ArticleFinding the average peak value of cyclic data preferably in Python or Excel
Hi all and thanks in advance for your help.I have several days of data of a cyclic nature (see below), the peak value of each cycle is approx (140 - 160). Is there a method, function or library that...
View ArticleFind sum of adjacent columns that match value from first column
I'm attempting to find the total sum of every value adjacent to a column row that matches the same team name. Example: Essentially I need the sum of the adjacent scores to each team put into column 'G'...
View ArticleRunning a excel marco crash when passing a com variant
When running our application, it is crashing in the following line of code, *pResult = g_pExcel->Run(Temp1,argVariant);Below is the code. I am not able to find why it is crashing. Is there any type...
View ArticlePerform a FIND, within VBA, from the bottom of a range up
Good Afternoon,Is it possible for Find to start from the bottom of a range and work up? What I would like is my code to first find a record number that will be located on a master list. Once it finds...
View ArticleHow to fully terminate EXCEL.exe from running tasks in office.interop?
I have to open an excel file and want to get the data to word a document. I use to this code:private Excel.Application excelapp; Type ExcelType = Type.GetTypeFromProgID("Excel.Application"); dynamic...
View ArticlePowerpoint check data from excel VBA
I currently have a powerpoint that is has data links to an excel file,I am attempting to create an endless powerpoint loop that every slide change runs a macro, this macro needs to connect to the excel...
View ArticlePowerpoint Animation Under Condition
I need to create a slide that pops up under a certain conditionWe currently use HTML with JS to code this however I think we can very easily move this slideshow like html/js environment to powerpoint...
View ArticleHow do I return data from worksheet table as DataFrame?
After searching, I found a few things out but now im stumped. In the worksheet it is a table with multiple incidents and I'm trying to get all closed and rejected incidents:EDITEDdef allIncidents(df):...
View ArticleHow to get selected columns data from Excel sheet at runtime using C# [closed]
Please help me to get data from columns of an Excel sheet at runtime using C#. I want to develop a VSTO addin for adding the columns values at runtime.Excel.Worksheet ws =...
View ArticleAddButton does not place button where I want them
For my work i sometimes want to automatically create buttons located at a specific place, with a given width and height.My code for this isSub Add_Button(my_top, my_left, my_Width, my_Height) Dim myBtn...
View ArticleCopy and paste an excel file with variable name
What I want to design is a file which can copy and paste a file in the active worksheet. However, this file will be updated daily and also change its name. Therefore, I'd like to refer to a dynamic...
View ArticleExcel Python script for data management
I'm trying to write a python script to collect data from an excel table (see picture) with a lot of spreadsheets and data in in. The table contains mole fraction of species in each column at different...
View ArticleHow to differentiate between noncontiguous ranges?
I am trying to perform a few operations on a dynamic number of ranges that are also dynamically sized. Each time the program is run, the number of noncontiguous ranges may change, as well as the size...
View Article