Data from excel to SQL database [closed]
Is there a way to store data from excel sheet to sql table and retrieve it back in the same format by writing a code in vba?
View ArticleFirst Program for Data Processing and Display - Which Programming Language...
I am looking to replace a massive excel based decision matrix that is super convoluted!What I need to do is have a very simple front page (interface) where data is input, processed and the result...
View ArticleBulk Email Sender runs slowly [closed]
This code sends emails in bulk based on unique email addresses. I have unique email addresses from each of the primary key stored in column B.The code sends notification to those who have payments...
View ArticleNPOI apply font to entire row of cells
I'm using NPOI to export my data to excel. The problem is I found it really hard for any kind of graphical changes. This is the method I'm using now to apply bold font to my cells.//Create new Excel...
View ArticleHow to Clean Address Data in R or Excel? [closed]
I have a list of addresses that have unnecessary information. I would like to remove string between first , and second , including commas. for example: 527 TEST RD, APT 22, EDINBURG, TX I want to make...
View ArticleOpening CSV files in Excel 2016
I have a new install of Excel 2016, that hates CSV files. It opens them with everything in one column flagpole style, down column A, with commas and speech marks visible.Salient points:I have two...
View ArticleCan I save a file to a specific folder using macro? [closed]
Can I use a macro where in I can save my new workbook using a path from a cell and file name from a cell? Example:file path on A1, \vtr-dept\File name on A2, SampleMacroFile type macro ".xlsm"
View ArticleVery slow or failing xls data extraction in R [functions read.xls, read_xls,...
I have multiple .xls (~100MB) files from which I would like to load one sheet (in fact, just one column of numbers) into R as a dataframe. I have tried various functions, such as xlsx::xlsx2 and...
View ArticleSelenium/Java - Writing Data to Excel
I am new to Selenium and I am trying to write a code to write data into excel. This code is working. However, it just write on the second row. When I change the value of "String FieldName1 to 3" it...
View ArticleHow to use Range.Formula using variable range
I need to calculate the average of a range and I need to update it for every step of a loop; practically, I need to move the range 1 row up every step. For example, let's suppose that I want to...
View ArticleHave data query automatically refresh if other query is refresehed first
I have a workbook with two data queries. I want to have the 2nd query automatically refreshed if the first query is manually refreshed. Below is the VBA code I have so far:Private Sub...
View ArticlePaste as values without Name ranges being copies
I want to copy sheet from another file and paste it as values without name ranges being copies from the other file. Following is the code I am using. It is working fine but it also copies name ranges...
View ArticleTable/Array Manipulation to consolidate multi-column selection
I'm trying to convert a table of data to reflect baskets per fruit item instead of fruit per basket number. Kind of like a transpose action, but the data changes. Original data shows Basket No. with...
View ArticleExcel search number search in columns and rows
Would like to find out how many times (rows) between matching numbers. So if F8 has a 14, when did the next 14 come up in the range of F9:J1000. So columns and rows to do a search in. So if the next 14...
View ArticleWord/Excel VBA: Get Value and Position of Word Checkbox in Table
I have a Word file with approximately 10 pages and 20 tables. Some of these tables have checkboxes. I want to copy these tables into an Excel file.Just to let you know I´m like a vba beginner.But the...
View ArticleDynamic Percentile Analysis Across Multiple Categories - PowerPivot / DAX
I've spent a a lot of time trying to find a solution to the following issue but I haven't been able. There are similar threads to this issue both here and on other forums but they don't seem to be...
View ArticleCan't access to my excel workbook anymore after VBA code
I was trying to search for a code online to automatically close my excel file if the user wasn't active for more than 5 minutes.I found a code, copied it, and now my workbook/code are locked and can't...
View ArticleManipulating Excel files from Windows Scripting Host
Is there a fast way to manipulate the contents of an existing XLS file from Windows Scripting Host?We have Excel templates we received from a customer. Our task is to fill these templates with the data...
View ArticleAttributeError: 'collections.OrderedDict' object has no attribute 'iloc'
import pandas as pd file = 'D:/myproject/chatbot_database.xlsx' xl = pd.read_excel(file) print(xl) #this prints fine print(xl.iloc[0, 1]) #this throws an error The error message is:AttributeError:...
View ArticleHow to search for 3 seperate strings in multiple files and print them to an...
I have a script that is looking for 4 seperate strings before printing them to an excel file. The first 3 are strings on seperate single lines that I am searching for with regex, and the 4th is a code...
View Article