Decimal number in string-data-type with large amount of decimals always...
Background: I'm receiving data for my Excel application from an API in JSON format. For this matter I'm receiving numerical values as a string, as everything sent in JSON naturally is a text format -...
View ArticleExcel VBA - How to draw border between rows when first 4 characters in cell...
So I currently use a coded macro that draws a border line when the value in a chosen column changes.Sub AddBorderLineWhenValueChanges() Application.ScreenUpdating = False Dim LastRow As Long Dim xrg As...
View ArticleCreate PDF with specific ranges in one sheet with using Excel macro
I can create pdf in a range but number of pages cannot be standardized. so is there any possiblity to update my macro to create 4 page pdf within my known range.Dim fso As Object Dim s(1) As String Dim...
View ArticleForce Excel to keep sheet name when referencing external tables
Is there a way to force excel from automatically "rewriting" the address of the external reference?ExampleWhen I mouse over and select a table in another workbook as a source, the formula bar shows...
View ArticleSSAS filter in Excel not updating results?
I tried the solution from SSAS Filter Measure in Excel, but it seems that this filters against the results and not the individual rows.I'm currently using AdventureWorksDW2008R2 database for practicing...
View ArticleHow to Check for Duplicates and Display a Count MsgBox
I have Three worksheets, and essentially I want to select a cell in Column A of Sheet 2 (As the Active Cell) and check if there are any duplicates in Column A of Sheet 3 (The Range for this Sheet...
View ArticleVBA: Copy, Find date, paste offset
VBA newbie here hoping you can help out.I would like some code (a button) that copies data in on sheet named "WklyBR" Range N18:Y31, thenOn a sheet named "Monthly", finds the cell (on the calendar)...
View ArticleIdentify row number where preceding cell value in column differ only in...
I am looking to retrieve the row number within the visible range (the data is filtered) where the current cell being checked does not equal <> the previous cell in the same column.I wrote the...
View ArticleHow to use a string inside a .Range in Excel VBA?
I would like your help with something i got stuck.Basically i want to do a variable iRow, by finding a cell with the value OBRC , the cell that has this value is retrieved by the command find, then i...
View ArticleFilter a range of values my cell values fall into
I am working with 2 worksheet in the same workbook. Sheet1 has the values. Sheet 2 has the table of data with header. My goal is to read the values from sheet1 and then filter a specific column with...
View ArticleAutomate Excel refresh and schedule it on task scheduler
I have a teradata query connected to excel to create certain pivots and reports. I need to send this report out every day via email. Is there a way to automate this refresh without opening the file and...
View ArticleImplementing Silent, top, left, etc. controlled by ie in Selenium [closed]
I don't know how to implement code in ie in chrome via selenium. Even if you search hard in Google, there is no result, please contact us with frustration. In ie, it's really useful code. How should I...
View ArticleHow to load specific entries into userform from worksheet (and browse between...
My worksheet has 2 user forms. One to enter new data into sheet and another to browse through specific entries, only showing a few pieces for the user to confirm they have the right entry to download...
View ArticleExcel VBA, 2003 - Convert string to 2-dimensional array
I inherited an old Excel (.xls) spreadsheet starting from 2005.For some reason the spreadsheet uses the name manager for quite large data stored as strings instead of referring to a table with the...
View ArticleVBA have a sub run another sub
how to run a sub stored in another worksheet's module? worksheet1sub endDay() 'something here end sub worksheet2sub reCalc() 'something here end sub I want recalc to be able to run on its own but I...
View ArticleExport SQL data to Excel - Best possible approach?
I am currently working on an automation which requires to export sql results to excel data. I want to do this via SQL query. Few options i know are as below, but before i start exploring these things....
View ArticleI have a CSV file where some of the rows in column A are duplicate, but I...
The CSV file is something like:NAme1; Name2 ss1; ab ss2; abc ss1; asq ss3; dasda ss2; cma ss3; poad And I want the final result to be like:Name1, Name2 ss1; ab asq ss2; abc cma ss3; poad dasda I have...
View ArticleHow do I get the selected rows in json format from a nested grid and then...
I am trying to get the selected rows in the following grid in json format and exporthttp://jsfiddle.net/8198ykLv/1/Something like that:selectedItems=[ { companyName:'Facebook' contactName:'Mark'...
View ArticleGetting the average of two time in excel cell
Hi guys i want to create a cell that get the average time of two cells
View ArticleCode for Deleting (Somewhat) Blank Rows for Extremely Large Workbook
I recently received a 500k row excel from an accounting database. The current file is unusable in its current format and too large. I'm hoping to slim down the excel by deleting blank spacer rows that...
View Article