Individual files making program erratic performance
I am making individual daily price data files for Tickers from Daily Price Data file. Program code appended below is not working properly. Sometimes it runs and makes 60 files and then fails to save a...
View ArticleAdding arrays together (in VBA) for output
Is it possible for me to add arrays together for an output?The code does match with headers and returns values to various arrays. when I try to output my arrays and add the values together I get type...
View Articlei need help to write vba [closed]
I want to write vba that allows me to do the same than this function does plus something else=SUMIFS('Monthly Field Production'!I3:I81,'Monthly Field Production'!A3:A81, "<="&'Cum Gas Prod'!A3)...
View ArticleSending selected data into another workbook and pasting it in empty row based...
Currently I would like to make a selection and copy it and paste it in another workbook sheet. However data needs to be rearranged to fit the other workbook. For example I select B116 to E121 I would...
View ArticleTrying to convert an Excel Macro over to standalone VBScript
I have the following macro that works perfectly within Excel but I know absolutly nothing about vbscripting other than what it has in common with vba. I have tried a few things and no longer get errors...
View ArticleChanging the Date Format for GROUPED dates in a PIVOT TABLE
I'm working in Excel 2010Let's say you have a legitimate date field in your raw data with dates such as 1/1/2015. Then you create a pivot table with your date field in the row labels.Now assume you...
View ArticleRead Arabic characters from webpage
I am trying to extract PDF links from this LINK There are three topics on this page and each is displayed by the collapse method and below each topic, there are sub-topics (months in Hijri calendar)....
View ArticleActivate/select a word-document and find the value of active cell in that...
I want to select a cell and use the value-text in that cell, to search/find in a specific word-document (xxxxxx.docx). This document is already opened, together with other word-documents.The code...
View ArticleExcel crashing trying to set Activesheet.EnableCalculation = true
I have Excel 2016 64 bit on Windows 10. Excel keeps crashing when I try to set a worksheet to enable calculation like this:ActiveSheet.EnableCalculation = TrueSo I wrote a test routine to try to...
View ArticleVBA coding and data input into cell blocks [closed]
I have a file that I'm using called Excel and the file that was saved is named AltaOne Bank Account. See I'm using VBA coding and the vba code isn't working. It puts the data all all the different...
View ArticleMacro to copy data from one sheet to a TEMPLATE based on condition [closed]
I have a Macro to copy data from one excel sheet to another (TEMPLATE).Step 1: Filter for Column L on PENDING Step 2 : Filter for Column K for the sourcing country and Column C for destination...
View ArticleExcel - how to forecast future value in 24 months based on 10% M/M increase
I have below data with 2000 units at the start and I want to have a one-line formula to calculate a value at the end of 24 months timeframe. The monthly growth is 10%. I can calculate it manually but...
View ArticleAdd leading 0 after the dash (-) but before the numbers
I have a formula that adds a 0 before the numbers 1-9 if they don't have...
View ArticleConcatenate two variables containing paths
I'm trying to export an excel sheet as pdf and save it in a folder called "invoices" in the "userprofile" folder. To do this I used this code to create the folder path:Dim userdoc As String Dim path As...
View ArticleHow to make a loop to ctrl+f every value in a column?
I am trying to make a macro to insert a new column after the last occupied column in a sheet, then search for the column title "Part Number" in my example and Ctrl+F search for each string listed in...
View ArticleSum of the days between 3 columns
I am currently working on DAX (powerpivot), I've calculated the days between different dates, however the dates in Blank as a result appear with 300.When I tried to sum the days without considering...
View ArticleAutomate copying data from the same cells on multiple worksheets into a new...
I have an excel workbook that has a lot of worksheets (150+) all named as different dates, and I want to copy data from the same cells on each worksheet and paste the data into separate rows in a new...
View ArticleUser Mapping Excel column names to SQL DB table column names prior to import....
I have an ASP.NET MVC application connected to my SQL database with set tables and column names. Each time they the use the app, the user has to import two Excel files which will be imported into two...
View ArticleExcel Addin : Workbook refresh with data mode , Error : The cartridge...
I had a 2013 32-bit excel (Professional edition) and I am developing an addin. In this addin I refresh a excel workbook. This workbook has a Data Model. My OS was recently upgraded from Windows 8 to...
View ArticleVBA calculating formula as zero, knows variables aren't zero [closed]
So I've been trying to use dissection method to solve a chemical engineering problem with the bisection method. Although that part is also problematic, that's not where the problem lies. VBA keeps...
View Article