How to Find, cut, paste and erase with VBA code
I am new on VBA and i dont know almost nothing. I've been trying a code to find a value entered in a inputbox "CXRG", find on sheet "ESTOQUEV" cut all the line and paste on sheet "SAIDA" (down from...
View ArticleHow do I count unique rows/values based on combination of variables (across...
Screenshot of Audit data in ExcelHow would I count (unique) rows where at least 1 of the work code categories (the numbers to the right of the column 'Work Code Description') = 1?E.g. if I selected...
View ArticleTaking a user defined equation and using it in a VBA sub to calculate...
I'm currently working on a program to do 4th order Runge Kutta calculations for ordinary differential equations., one of the requirements for the program is that the user will input the equation they...
View ArticlePhpexcel create wrong file
this is my simple code to create an xlsx file and open it with openofficerequire(APPPATH.'/PHPExcel-1.8/Classes/PHPExcel.php'); require(APPPATH.'/PHPExcel-1.8/Classes/PHPExcel/Writer/Excel2007.php');...
View ArticleFail to get csv from S3 and convert it with Python
I need to read csv file from s3 bucket and insert each row on dynamoDBdef load_users_dynamodb(): s3 = boto3.client('s3') dynamodb = boto3.resource('dynamodb') table = dynamodb.Table("test") obj =...
View ArticleConvert many table to excel columns
I create web app for article review.I have table named Article and each Article have some ArticleReview: ArticleArticleId ArticleTitle NumberOfComment NumberOfView ... ICollection<ArticleReview>...
View ArticleHow to show (or prevent hiding) Excel worksheets created from PowerShell
I have a script that does a lot of Excel processing. After making two worksheets, I then make three more and populate them with data. However, when I open that Workbook, sheets are in the order of 5,...
View ArticleImporting Data from Access into Excel weekly using ADO
I am trying to automate a data pull from Access into Excel using ADO. Each week I pull in the previous weeks deals from Monday-Friday. Right now I have SQL pulling in the deals from the previous week,...
View ArticleExtract financial fundamental from Yahoo finance with excel
Yahoo changed his structure for the financials (fundamental) report. In the past (last month) at the page https://finance.yahoo.com/quote/AAPL/financials?p=AAPL&guccounter=1 I could download the...
View ArticleHow do I extract column cells as single pictures?
I need to save pictures based single cells within a column which has Chinese characters in it as separate JPGs for inclusion in a Visual FoxPro report.I have pored through various Stack Overflow...
View ArticleExcel VBA stop code where conditions are met
I'm struggling getting my code to work.I have a button on the excel sheet that when triggerschecks required fields value is 0, if not then message box and end code checks if the reference number...
View ArticleReturn Index Position Where First Corresponding Cell Value is Blank - Excel
I have two rows side by side in Excel and I want to return the index location (top row) where the first cell in the bottom row has a blank value. In this example, the index cell would be 9. I've tried...
View ArticleHow to insert cell values before existing cell values in VBA
I have a code in VBA, which copies 2 columns of existing values below an another sheet's similar data. I want to slightly change the VBA code to, that if the cell of value another sheet (C3) is TRUE,...
View ArticleHow to count up elements in excel
So I have a column called chemical formula for like 40,000 entries, and what I want to be able to do is count up how many elements are contained in the chemical formula. So for example:-EXACT_MASS...
View ArticleToken Comma expected - can not run JSON query
This is a problem i have working in Excels Power Query. I have this query saved in a variable named "content" which is passed to the call Web.Contents.I can not run the query, i get "Token Comma...
View ArticleVBA Selecting Multiple File Paths and Saving in Cells
I can save one file path to my desired cell, I would like to be able to save more than one at a time. I have tried to change the code, yet I can't figure out how to save on the next row it just saves...
View ArticleHow to use Regular Expressions (Regex) in Microsoft Excel both in-cell and loops
How can I use regular expressions in Excel and take advantage of Excel's powerful grid-like setup for data manipulation?In-cell function to return a matched pattern or replaced value in a string.Sub to...
View ArticleVariable isn't set unless debug.print executed first
On my sheet, I click a button, the button fires the below Sub. Which is supposed to read the row and col of the clicked button location, then pop up a message box the with the content of a hidden cell...
View ArticleError creating table in VBA Excel
So I am importing a bunch of data into a sheet and then I want to make it into a table. I do not know how many rows of data there will be. This code was working correctly a few days ago, but I suppose...
View ArticleProgrammatically Install Add-In VBA
I'm looking to create a macro that'll install an add-in for the user to the excel ribbon. I'm upto:Private Sub Workbook_Open() On Error Resume Next Application.AddIns("Name of Addin").Installed = False...
View Article