Making two or more charts on excel vba
I am trying to plot a exam sheet of the students in excel. A target line that shows the maximum you can get in a test and all along. Then what a student have achieved in each of the questions. The...
View ArticleRename a string if already exist in a column VBA [on hold]
I have a column of headers that sometimes contains duplicates. I want to setup code that will find these duplicate headers and add a number to the end to make them all unique.For example, If...
View ArticleProperly looping through non-contiguous ranges?
I have a few non-contiguous ranges that may vary in size each time it is run. I would like to take each of the ranges and copy and paste them onto their own individual worksheets (one range per...
View ArticleHow to extract sent items from Outlook shared mailbox in Excel VBA?
I'm trying to extract emails from a group/shared mailbox in Outlook using the code below in Excel.olObjNs.GetSharedDefaultFolder(olShareName, olFolderInbox)Using this I can extract inbox...
View ArticlePython openpyxl data_only=True returning None
I have a simple excel file: A1 = 200 A2 = 300 A3 = =SUM(A1:A2)this file works in excel and shows proper value for SUM, but while using openpyxl module for python I cannot get value in data_only=True...
View ArticleSearch for a string and move files containing string from source folder to...
I am very new to VBA macro coding. I have large number of .csv files in a folder and each file has few separation codes in them. Separation code usually will be 5 digit code eg: B82A6.I have to copy...
View ArticleExcel VBA - [Microsoft][ODBC Text Driver] Record is too Large
I am joining 2 csv files using a Transform (Pivoting) query with Microsoft Access Text Driver (ADODB) in Excel 2016 using VBA. Both csv files are small i.e. 1 is not more than 10 rows and the other may...
View ArticleCreate SQL query that contains values from Excel column
So I have an issue, i have a column with 1000+ values, and i need to create macro that takes all of the cells values and pass them to SQL query like "select * from table where name in ('here is values...
View ArticleNeed to copy column 2 content to end of column 1 content in excel
Hi can you please help me with VBA script for copying column 2 content to column 1 empty space or end.just as shown below.
View ArticleAdding Items to datagridview with Excel database
I'm trying to add items in my datagridview by using vb.net code. I'm using an Excel database. Here's my code and all the things that I've tried are in the form of comments.I would really appreciate it...
View ArticleFind start and end of alphanumeric sequence excel vba
I'm struggling to find any information online how to tackle an issue I'd like to automate via VBA. I tried using LARGEMIN/MAX but they both either gave #NUM! or 0 as the result, my guess is because I...
View ArticleCompare two Excel-files in Powershell
I need help comparing two Excel files in Powershell.I have an Excel-file which contains 6 000 rows and 4-5 columns with headers:"Number""Name""Mobile data". Let's call it: $Services Now, I want to...
View ArticleConverting a web scrape into excel?
I am trying to get this information automatically save into an excel file similar to this Sample excelimport requests from bs4 import BeautifulSoup r =...
View ArticleMemory problem when filtering an OLAP cube
So I have a macro that for starters needs to open a file and filter the OLAP cube with some dates. Performing this actions burns a lot of memory, going from 100Mb to 1,5Gb.That's a problem because...
View ArticleCheck Boxes (ActiveX Control) do not work anymore
Suddenly all the check boxes (ActiveX Control) in my Excels stopped to work. This concerns both new files as well as the old ones I've been using for years. I cannot (un)tick them and even if I do so...
View ArticleWhy does the macro gives compile error without any logical or syntax error in...
I wrote a macro in excel vba. I am attaching the script below. I don't see any logical or syntax error in the macro but when I try to compile it, I get Compile error: Expected: ToBelow is my script...
View ArticleFind next string if the value is not 0
I'm trying to program an automatic system where Sales QTY would reduce stock QTY from the lowest expiry date. If the Sales QTY > Stock QTY from the first expiry date, it would reduce right away...
View Article"VBA autofilter method of range class failed" error on a code that worked...
I am working on a VBA code that deletes all the rows with the value "No" in column W, then sorts it. Right now I keep getting the VBA autofilter method of range class failederror on the .AutoFilter 1,...
View ArticleFile is Read only using VBA Excel with ADO connection to Access
I am trying to write a macro that pushes Excel data into Access. Originally I simply wrote it to open Access as an object and do it that way, but it was horribly slow. So now I am writing it to use an...
View ArticleVBA Code for Saving a File that is the Target of a Hyperlink on a Web Page
I am trying to write some VBA code for what I thought should be a simple process. There are several links on an internal web page that, when clicked, will generate and then open a file in Excel. The...
View Article