Data Query based on the drop down selection based on the...
Screenshot 1:Screenshot 2:Hi Guys,Need help with the Data Query based on the drop down selection based on the dependent/independent drop down validation listSample Images attachedI tried various...
View ArticleCOPY SHEET IN EXCEL MACROS AND UPDATE THEIR LINKS [closed]
HET I HAVE 3 SHEETS X,Y AND M. SHEETS X AND Y ARE LINKED TO EACH OTHER WHAT I WANT IS TO USE THE X AND Y SHEETS AS A TEMPLATE AND CREATE THEIR COPY, UPDATE THEIR NAMES AND LINKS BASED ON A LIST PRESENT...
View Articleif row H that contains red background and if value < 1 then msgbox
I would like to show message box if columns A and B have background with red color and its value is < 1.
View ArticleChange data source of multiple excel pivot tables using openpyxl
I was wondering if there is a way to use openpyxl, in Python, to change the datasource of multiple pivot tables in an excel worksheet?
View ArticlePass an Excel worksheet as an argument to another script
Is it possible to open an Excel worksheet in one Powershell script and then pass the worksheet instance to another script?What I have tried:Script 1 (main script)$Excel = New-Object -comobject...
View ArticleUpdate links in all excel files within folder
I'm fairly new to writing VBA macros and I'm sure I'm making a stupid mistake.. So I worked out this piece of code from bits I found on the internet to try and automate updating links to all files...
View ArticleHow can I know the previous row number that triggeed a SelectionChange...
I have an Excel spreadsheet that calls a SelectionChange procedure every time I move the active cell.This procedure carries out a certain number of actions and displays the results in a userform. The...
View ArticleChanging part of a workbook name and saving file as new name
I am trying to change a filename (YY number) before saving the workbook as a new file. Every filename has the format: "HXXX-XXX-XXX-YY Example Title"YY is any number starting from 0 to infinity, where...
View ArticleGet filepath from external connection
I am trying to iterate over all Excel files in a directory and collect all references between them, to determine which ones are safe to move to a different location.As a first step, I want to find the...
View ArticleHow to display badly decoded Unicode characters in Excel cells in their...
For cells with 'gibberish' on an Excel file, I need to present them (e.g. in another cell or at least, for now, in a message box), in the language they originate from.I found a hint for a solution at...
View ArticleHow to copy tables from multiple Word files to separate worksheets in Excel,...
I have used the VBA macro below to put multiple tables from multiple Word documents into one worksheet in Excel.I want the multiple tables from each different Word doc to go into different worksheets...
View ArticleHow to extract the first occurrence of a word (date) from a particular line?
I would like to loop through a column and extract the date and time from the first occurrence of a sales comment to the neighbouring cell.There could be a variable amount of lines in the cell and...
View ArticleInnerText returns empty for a specific span class
I am trying to retrieve regular (126,37€) and reduced (101,10€) price information from this website.Simplified HTML code looks like this:<div class="vw-productFeatures "> <ul...
View ArticleExtract text string from undeliverable email body to excel
I need some help on Outlook VBA.I am trying to write a macro in Outlook for extracting the email address from each individual undeliverables email body. There are hundreds of emails failed for...
View ArticleExcel VBA. Convert a list of cells to Ranges
I am trying to return ranges of cells with conditional formatting as a string. I've managed to create a list of cells with the conditional formatting with the following code. Set Data =...
View ArticleHow do I delete Excel files column on Powershell?
I want to delete many Excel files in folder at once. So I write below code, but when it runs, terminal logged out Delete Method of Range class failed error popping up. and more confusing thing, in some...
View ArticleHow to save as xlsx file?
My SaveFile sub saves the file but when I try to open it again Excel doesn't recognize it as an Excel file.If I right click the file from my desktop and check the properties, the type of file is...
View ArticleEliminate Characters In Excel
I have thousands of file names like this one : LO_Oszukane_169_Pol___MP2_.mpgNotice how there are 3 underscores after Pol. I need to remove all excess underscores and leave just one.How could I achieve...
View ArticleEXCEL VBE - "Project - VBA Project" Pane DISABLE?
This macro will hide/close the VBE Main Window :Sub VBEMainWindowHide() 'close VBE window: Application.VBE.Window.Visible = False End Sub I am attempting to close or hide the "Project - VBA Project"...
View ArticleHow to clear content of rows except column A?
I have a macro which removes the content of the entire row with cells in light yellow in my selection (in my macro Range("B1:B3000")).My macro works but I would like to not remove the content of column...
View Article