How to not clean a specific Textbox when other Userform controls are cleaned?
On my Userform, I have a textbox (let's say Txt1). I use it as a search bar for my listbox (Lst1).When I write any expression to Txt1, I find what I am looking for inside Lst1. These two (Txt1 and...
View ArticleExcel to Access without overiding data
I have an excel spreadsheet that gets updated daily. Now i wish to upload this file into access without overiding the previous data (i.e. The table in access gets updated with new rows from the new...
View ArticleSend mail from specified account where Outlook has multiple accounts
I want to send information to myself via Outlook email from Excel.I did this on my home PC with one Outlook account and Outlook 2016 On-prem.When I try on my work PC with two Outlook accounts and...
View ArticlePerl - How to open/change current Excel version with Win32::OLE
On my laptop I have 2 versions of Excel (64bit and 32bit). When I open Excel file as a standalone it opens the 32bit version and that is what I need. But when I run my Perl script it opens Excel file...
View ArticleHow to lookup a code in excel and extract it's rows data?
I don't fully know what I would call this but essentially I want to be able to have a code in a cell (lets say 124). I have columns that say the name, quantity, price, and price per. I want to use that...
View ArticleMissing portion of the graph in VBA when 2 or more separate graphs are...
When i plot my chart using one set of data(current 1), the graph shows the correct output. However when i plot 2 sets of data concurrently(current 1 and current 2), part of the graph is missing(circled...
View ArticleImport text file using information from excel file [closed]
I am not good in VBA, but I can understand some of it so I need your help on this one. I want to import text file, but filing folder will be change based on range. Example: range(“A1”) is where file I...
View ArticleSolver Glitch? Excel VBA
I am working on an optimization problem using solver and every time I open the solver Parameters, it adds additional constraints that I did not add myself.For example. I have three constraints entered...
View Articleignore neg. values in Rank function VBA
I have a huge file where i want to rank all the values in a column where the value "0" would give me rank one. So far no problems. The main problem that is i also have negative numbers and as long as i...
View ArticleMacro VBA find specific column
I would need to find a specific word on row 3 such as Budget and Status after that, I would need to delete the entire column which contains Status and Budget.PS. can be more words and how to make it go...
View Articlewhy does my VBA code always skip my 1st loop?
I'm trying to make my VBA code loop through all my cells and lower the count of an already existing number in my 2nd sheet by 1 every time it encounters a specific text in a cell. However, whenever I...
View ArticleHow to embed image from URL in Excel?
I am trying to extract an image from a URL and embed it in Excel. My Excel Sheet is simple: it contains 2 columns. Column 1 has the image URL. In column 2 I want to embed the image. I am using the...
View ArticleUser Form - VLOOKUP and Form Calculation
I have a form with several fields. I have a field on the form where I would like a calculation to take place. This requires a VLOOKUP of a helper column function.In a regular cell I can type the...
View ArticlePassword not applied when i protect from another workbook
This code is for a button, its supposed to protect all the sheets of another workbook, it works but it doesn't protect them with password i don't know why. It detects Pass but for some reason it...
View ArticleApproach to read cell from excel and build API URLs one by one with Python
I want to build an APIs URLs using data stored in excel sheet. [if there are 100 group then there would be 100 APIs] Excel sheet looks like this Mtd || Id || URLID 0 getemp || '1', '1211' ||...
View ArticleExtract Email Data from Outlook Folder
Working on an Excel Macro to go into a specified folder in Outlook and based on a variable (value/named range in Excel) extract data from emails (To, Subject, etc.).I cannot get it to extract anything...
View ArticleHow do i copy and paste data to worksheets that i created in VBA using for loop?
Im trying to copy and paste my data and assign them into different worksheets.For example, if column F is martin 1, the entire row that has martin1 will be paste to worksheets("Index1"). Same thing for...
View ArticleSelect a Value from Form ListBox and Show Value Associated
I have a list of items and descriptions in column A. The first item is in the 5th row. Each item is followed by the item description. It looks something like the following (different, but the same...
View ArticleRuntime Error 91 : Export Global contact list in outlook 2016
Now I'm export Global contact list in outlook 2016. to Excel file. This's my code: Sub ExportOutlookAddressBook() Application.ScreenUpdating = False Dim olApp As Outlook.Application Dim olNS As...
View ArticleHow to end VBA on a specific sheet column?
After a macro has run I want the screen to be on a specific column of the spreadsheet so I can check the data has gone in correctly.I worked out how to activate a specific sheet.I tried...
View Article