How do I remove all occurrences of a number from one table with of a vlookup...
I have come very close to solving this, but the final result is always missing a some of the information.I want to take every reference number that has the code ESBK022, ESBK023, or ESBK024 from the...
View ArticleDataSeries method of Range class failed
I'm trying to run a VB script which performs 1. Add a new column towards left (Position A) 2. Enter value of A1 as "1". 3. Fill down the series incrementing by 1 for all available rows (in Column...
View ArticleCalculate growth then decline in Excel
So in this scenario, a company sells 100,000 units of a product in year 1. Then sales will grow by 15% for 3 years, then decline by 10% in 7 years. Is there a way to calculate all the sales for each...
View ArticleAngular 7 - Unable to open xlsx file attachment from server
I am trying to get a xlsx file from backend server and open it on the angular 7 client UI, so far not successful. I am able to open/save text files but same code not working for xlsx files. I am able...
View ArticleFind largest payee in a table
I have a finance tracker in excel with some sample data that I'm trying to find stats about.each transaction has fields shown How would I find the largest payee based on the amounts in column D (eg....
View ArticleVBA- Border line a cell based on a different cell's value
How do I write a VBA macro that for every "Carry Over" I input in column E, I want to border the corresponding B cell in Red. And this is across the worksheet.For e.g, in the picture below, everytime I...
View ArticleHow to import all date from website to excel [closed]
The source:urlI did Select Data > From Web, but some content doesn't imported.
View ArticleGenerate PDF and Excel using Javascript (Client side)
Is there a client side Javascript framework similar to jasper report in Java.My requirement is to generate both PDF and Excel at client side(browser) without doing it at server side. I have found that...
View Articleis it possible to incorporate JavaScript or Python code into a previously...
So I'm working for a monastery at the moment and they've built their entire database in Excel and through that, Visual Basic. They want to know if it's possible to use JavaScript or Python to make...
View ArticleHow to get rows having sum equal to given in SQL
**Table A :** **Table B:** ITEMCODE Total QTY ITEMCODE Qty A 100 A 25 B 50 A 75 C 75 B 10 D 85 B 20 B 30 D 80 D 5 Need to result view :A 100 = A 25 A 75 How to get this result with SQL function with...
View ArticleChange part of an excel forumla to include data from another cell
I am looking for an easy way to replace part of a formula in Excel. I have to do this for over 66,000 formulas every year. Currently i use Find & Replace to speed up the job but it still takes me...
View ArticleError : SaveAs method of Workbook class failed
Dim app, fso, file, fName, wb, dir dir = "D:\TA" dirsave = "D:\TA\XLS" Set app = CreateObject("Excel.Application") Set fso = CreateObject("Scripting.FileSystemObject") For Each file In...
View ArticleHow to convert number into date-time format in excel ( i have equivalent...
Referring to the above screenshot, i'm trying to crawl data from Singapore Stock Exchange, which the web content is loaded dynamically from an API call returning json, example hereI'm having some...
View ArticleHow to count emails, according to criterion, from all folders and subfolders...
I have to count the number of mails received within certain criterion for weekly reporting. The mails are in various folders and subfolders of Outlook. Dim objOutlook As Object, objnSpace As Object,...
View ArticleFinding next incremental value in MS Excel
I have an MS Excel worksheet which is used for recording systems requirements and the requirements are coded with ID as shown in the image below.I would like the excel to give me the next ID...
View ArticleQTableWidget Joint Cells Problem : After jointing a range of cells...
I want to make a spreadsheet like Excel. One of the most important functionality is to joint cells and split cells. I make a sample code.First, I jointed cells horizontally. (Please select Joint Cells...
View ArticleHow to delete contents of cell without removing its formula
Using Excel VBA, how do you clear the contents of a cell without deleting the formula? I have tried the ones below to no avail. All of them deletes even the formula. dataSheet is a Sheet. Thanks for...
View ArticleVBA For Loop stopping early
I wanted to pass through the loop 100 times and stop when a is 101 then go to the next line. However, when it reached 101 the code just stops and does go to the next line. If the for loop is from 1 to...
View ArticlePowerpivot data connection will not save the password
I'm trying to create a Powerpivot workbook with data that users can refresh themselves before analysis. We don't have Powerpivot data refresh in.When I create a Powerpivot data connection to SQL server...
View ArticleOpen filter on range from another workbook delete rename tab save as from...
I have managed put a code together. It is working, but it's not very sufficient as I would need to create a 20 macros and rename the filtered text for each macro. I have two workbooks Q4 where the code...
View Article