How to sort a selection
I'm trying to sort a selection. I've searched on google and all the hits want to sort the data in a selection, their headings are inaccurate. I want to sort the selection. So what's happening is my...
View ArticleIs XlFileFormat 57 still valid to save an Excel worksheet as PDF?
I want to Saveas an Excel worksheet as PDF format. I used XlFileFormat 57 before and it works well. But now it doesn't work and I found that it doesn't exist in the official web page...
View ArticleRe-Open attachments from multiple folders, Copy contents from all attachments...
This task is achievable with user request such as: FileToOpen = Application.GetOpenFilename(Filefilter:="Excel Files (*.xlsx), *.xlsx", Title:="Select Workbook to Import", MultiSelect:=True) If...
View ArticleWebscraping in VBA some HTML information has no way to refer to it
I have this VBA script here and I'm running into a blocker.I'm scraping stuff from this URL https://accessgudid.nlm.nih.gov/devices/10806378034350 All I want is the LOT,SERIAL, and EXPIRATION...
View ArticleAccess second sheets always invalid index
I'm trying to create a new excel sheet, but when I'm trying to access second sheet, it always throws invalid index exception.It always shows the error at xlWs3 = xlWb2.Worksheets.get_Item(2);xlApp2 =...
View ArticleI have a vba code and I want to know the structure of the Excel file (the...
I have a problem to solve by vba, I find a code that does this task on the internet but I could not understand it, because I do not have the Excel file on which it is run. so my goal is to know the...
View ArticleCreating Bucket in VBA with string values
I am trying to create a bucket of theater from string values of country codes. I have written a code using for loop and nested if conditions as below: Data: Coulumn A. Column B Country code....
View ArticleCan someone improve my UDF for Logarithmic Regression/LINEST [closed]
Can someone please help me with the VBA for a UDF that produces a result that is identical to this as calculated using native Excel formulas:=FORECAST(LN(X), knownYs, LN(knownXs)) X, knownYs, and...
View ArticleExcel Data Mapping and Transformation
I am new to excel and I have a problem in excel that I have some values and I want to transform them into some text values. I guess It's a DAX function or something. but unable to figure out.for...
View ArticleExcel Array Formula multiple criterias for sum
Customer Amount Date 1 10 10/02/2019 2 20 10/02/2019 3 30 11/04/2019 4 40 11/04/2019 1 50 10/02/2019 2 60 10/10/2019 2 70 11/04/2019 2 80 11/04/2019 I wanted to write an excel array formula that is...
View ArticleVBA JsonConverter adding additional quotes
I am currently attempting to parse JSON using the VBA module add in found here. I currently have JSON files stored as text documents locally, so I call them into VBA, make the necessary changes, and...
View ArticleReady to practise SQL and Excel [closed]
I just finish a training on Data Reporting & Visualisation with Microsoft Excel (Vlookup, power pivot, data validation) and presently working on Developing Queries with Microsoft SQL Server. Is...
View ArticleHow to disable mouseover for Excel comments?
I have a spreadsheet in excel with some vba code that makes comments show up when I navigate the cursor to the cell and turn off when I navigate the cursor away.However, the comment still shows up when...
View ArticleIE automation - Excel Vba can't save value when click save button
I am trying to do IE Automation through Excel VBA code. I have a web page which has cells to add value. I need to change values in these cells by code vba excel example: Now cells in webpage has value...
View ArticlePython - pyinstaller IOError: [Errno 13] Permission denied: accessing...
I've been experiencing weird problem with writing to xlsx/docx file on Windows machines. It seems, that is specific only for Windows. On Linux everything works. Here is my codesample:#!/usr/bin/python...
View ArticleExcel: INDIRECT function cell reference will not drag down
So i'm working on a spreadsheet where i need to lookup a value from a tab of which the name is defined in a cell, in this case D7. Using this method i can dynamically search my workbook tabs and select...
View ArticleAdd/Delete a record in Access using Excel
Need help with my assignment. I would like to add and delete a record for a selected customer. I can add a new record to the selected customer but when I delete the order it deletes the customer too. I...
View ArticleHow do I use Index & Match to reference a separate sheet?
Background:I have the following test code that is working where column H is equal to what's in column B versus column DRange("H2:H17") = "=INDEX(D2:D17,MATCH(B2:B17,B2:B17,0))"Question:How do I use...
View ArticleData import from Excel to SQL Server failing to import all data
I have an odd thing happening with importing data from Excel to SQL Server using the Import and Export Data tool.The short of it is that I can see the data in Excel, but all of the data doesn’t...
View ArticleWhy is my VBA button to save inputs from one Excel sheet into an output on...
I'm having trouble figuring out where I went wrong here. I've made a very similar button in other workbooks without trouble- what could be going wrong?Sub CommandButton1_Click() Dim sh1 As Worksheet,...
View Article