How to Highlight Selected Row In ListVIew
I'm Creating Application using Excel and VBA, My app has a ListView to display data from Database. And has a function to select an ID in ListView and insert the data to another ListView.Now my problem...
View ArticleCopy paragraphs from Word into the next page if the condition is met (macro)
I am trying to create macro which is going to export data from Excel file into Word document with specific conditions. Each row in the table has photos attached - sometimes 1 and sometimes more. I...
View ArticleConvert Excel date to yyyymmdd format
Note: There are questions asking the opposite, I am asking how to convert original Excel date that has underlying numerical value (for example, 27 May 1997 would correspond to 35577) into yyyymmdd...
View ArticleColoring a graph with VBA
I have a set of data point in excel in the following format: 2016 3 2017 4 2018 5 Each of the cell (in the right colomn) is coloured in different colour. For example:2016 3(red) 2017 4(blue) 2018...
View ArticlePerformance Sumproduct vs Application.Worksheetfunction.Sumproduct
I build an Excel sheet with a =sumproduct formula, but I takes almost a minute to finish, so my question is the Application.Worksheetfunction.Sumproduct function faster then the =sumproduct formula?...
View ArticleHow do I use Dir and Mkdir and reference Sharepoint?
I have Excel VBA code that sends data to a word template (saves a docx and pdf file). The code then sends the pdf as an email via outlook.It all works perfectly on my local drive, but opening, checking...
View ArticleVBA How to use mid function in option explicit [closed]
my main code is in option explicit mode , which means i will have to declare all the variables in the code, however i have no idea how to declare the variables in this short coding. The code below...
View ArticleExcel List to Search in Outlook Subject
I'm working on the code to fetch email with a specific "Order Number" from my excel list (column A) and open the email once it is found in the search, forward/Edit that email to add Invoice Number and...
View ArticleHow to append data in the last row (every time) with python Openpyxl?
I am looking for a way to append data from a python program to an excel sheet. For this, I chose the Openpyxl library to save this data.My problem is how to put new data in the excel file without...
View ArticleChoose Worksheet based on Cell Value
Using Excel 365. I am trying to copy a sheet from a template in "Tournament Master Format 36.xls" (All tabs are numbers based on how many teams are in the bracket) based on the number of teams from...
View Articleexcel if doesn't match this value match other 3 values
I woulde like to use if match function to check a value, to see does it exist in three other worksheets.below is my formula=IFERROR(IF(MATCH(A1,'sheets2'!$F:$F,0),"yo",...
View ArticleGoogle Sheets SUMIFS where multiple criteria is returning 0
I am struggling to workout the correct Google Sheets formula to achieve the following.In the sheet Profile below, column Purchased_Classes, I want to SUMIF the Qty in sheet Purchased_Completed, Where...
View ArticleWhile loop until a condition is met for every cell in a column
I am new to VBA and would like some help with a piece of code :)Problem: Add 'Periodicity' values (with a nested if statement) to the 'Draft date' until the date is greater than or equal to the 'Cut...
View ArticleChange VBA to current workbook
So I got this macro that i modified to insert from an excel cell into SAP "cells" as I was annoyed that I couldn't use SAP Scripting with changing dates.However, when I launch the macro it opens the...
View ArticleMail Merge using one Word doc but needing many iterations depending on Excel...
This is an updated post from today as the parameters have changed.I have an Excel sheet with the data. I have a Word document that instructs me to choose which paragraph to use based on the data in...
View ArticleHow to include the cell's value in the Excel file name with Python?
The existing Excel file name is test.xlsx. Let's say the value of D3 cell is 333. (This value varies from month to month, with many files.) I'm trying to include the value of D3 cell in the file name....
View ArticleExcel data pull from External Source odata feed does not work
We have got a ODATA feed web API, which is a data source for our Excel report. This Odata feed, we are able to pull successfully, when it is hosted local & physical server. When the same odata feed...
View ArticleWhy does using a named range return no value?
I have one workbook with several sheets. I populate the listboxes (pulling static data from cells) on the 2nd sheet, click a button and it runs fine.When I populate the listboxes with a named range,...
View ArticlePair wise combination in excel or any other way
I have 8 columns in excel sheet. Each column as either 2, 8, 40, 20 rows vice versa. I want to generate pair wise combination. It can have pair from 1 to as many it can generate. I tried...
View ArticleUse Python to extract Text function, sort and import into existing excel file
I am using Python 3.8 on windows 64. I aim to automate a repetitive process: Transfer selected information from pdf docket and input into existing excel file. The information I extract from pdf is...
View Article