Excel to PowerPoint
I am trying to prepare a presentation from Excel. As of now VBA code is preparing "n number of "presentations as per no of times Loop runs. I want Code to generate just 1 presentation with all slides...
View ArticleBloomberg function quotes causing run-time errors
When trying to execute the below code, I get the error "Run-time error '1004': Application-defined or object-defined error". I am trying to get this formula into a multitude of cells if they are empty:...
View ArticleHow to open web browser with URL from a textbox via VBA?
Here is my situation. I have a textbox (textbox name = TextBox1) in a userform. I have a button, when clicked, it will display a URL address in TextBox1. Now I want the following. I would like to have...
View ArticleTrying to execute a SQL statement from VBA to an Access database, getting a...
This is the code:sqlStr = "INSERT INTO Students (ID, Last Name, First Name, E-mail Address, Student ID, Level, Date of Birth, Home Phone, Address, City, State/Province) VALUES ('"& ID.Value &...
View ArticleRename named regions depending on worksheet they relate
Im trying to rename my named regions(~400) to have their worksheet name as suffix.How should I properly do this?I have following code now:Sub ChangeNamedRegions() Dim oldRegionName As String Dim...
View Articlehow to fetch time series data from excel using openpyxl library?
I am reading Excel file which update sensor data every 8 seconds and save it in auto.in Excel sheet which i am reading contains, column no. 2 is time in hh:mm:ss ,column no. 3 is humidity,column no. 4...
View ArticleWait until email is sent in Outlook before moving to next cell row
I will start by saying I am inexperienced and completely experimenting to make my current job easier. Any suggestions on top of my actual question are welcomed.So this VBA macro for excel which should...
View ArticleHow to conduct multivariate regression in Excel?
I've been searching the web for possibilities to conduct multivariate regressions in Excel, where I've seen that Analysis ToolPak can make the job done. However it seems that Analysis ToolPak can...
View ArticleSplit Excel file without Opening
I get excel files during Hackathons or Kaggle competitions where the size is in Gb. My 8gb i7 intel system crashes if i open it directly or load it in python or R. I am wondering if there is any way...
View ArticleHow to merge two excel files into one with their sheet names?
For merging of two excel sheet, I am using below code.using System; using Excel = Microsoft.Office.Interop.Excel; using System.Reflection; namespace MergeWorkBooks { class Program { static void...
View ArticleHow do I merge multiple excel files to a single excel file
So I was trying to make an excel sheet aggregator. In my line of work we get people who send us a bunch of individual excel files that are all related each with only 1 sheet used.I was following to...
View ArticleInvalid bracketing error while executing a query with excel
My Query is this.SELECT [Recon. Account] FROM [Sheet1$] WHERE something = 'YES'Error Coming :: Invalid bracketing of name '[Recon. Account]'.I have been using this same format with the other queries...
View ArticleHow to add a new column to an existing sheet
Suppose I have the worksheet below:Empid EmpName Sal 1 david 100 2 jhon 200 3 steve 300 How can I insert a new column named "Loc", including its data?Empid EmpName Loc Sal 1 david uk 100 2 jhon us 200...
View ArticleMacro to split excel files at specifies rows into note pad
I need help in creating a macro to split a sheet that contains my data exactly at 700 rows and save as txt file. the catch here is I want all my excel file to have the first 4 rows the same as they...
View ArticleNeed help for web scraping and save it to excel using csv
desirable resultI need to web scrape url and save it to excel like image I uploadedbut I don't no what is wrong with my codeI get only one row in my excel file. Help me plz.import requests from bs4...
View ArticleHow to export one dataframe, which contains +1.048.576 rows, into multiple...
I'm planning to import multiple excel files and use append method to obtain a dataframe that contains all of the information I need. However, I am certain that the number of rows in the dataframe will...
View Articlecopy multiple worksheet with range and paste into separate sheet
I wanted to copy multiple sheets particular ranges (worksheet) and paste into one separate(worksheet)
View ArticleHow to create a another sheet using condition setting using Reglar Express VBA
Hi am trying to produce a another excel sheet using VBA by selecting matching values to another sheet. Currently it ends at the for loop and i have no idea how to carry on to produce the values that I...
View ArticleMS-Excel, change default custom formatting?
If you enter 20/11 into a cell excel automatically applies a default custom format to 20-Nov (dd-mmm) on the cell.How does one prevent this default behaviour from happening or modify it to yyyy/mm/dd...
View ArticleDOM VBA IE11 Automate Placing Orders on a Website - Trouble With OnChange and...
We have a Virtual Assistant placing hundreds of orders for ball markers on this site: https://www.golfballs.com/Golf-Misc/Tools/Classic-Photo-Poker-Chips-3-Pack.htmI had used VBA before to get data...
View Article