How can I keep the date format from a VLookup returned value?
I have a sheet whit mixed format data (dates, double, strings, etc.). I search the value (my_index) in the lookup_range and I want to retrieve the data to change with it a cell in other sheet. It works...
View ArticleAccess Database Export to Excel
I am trying to have an Access database send information to an Excel workbook. I can get it to do that but I had to use 3 Sub() procedures. Sub () 01, 02, 03. I can get the Subs to run, and the Excel to...
View ArticleWriting information from Java Android Studio App to Excel File?
I am using Android Studio to code an app in Java and I have some information that the user will input on the app interface, which I want to store on an Excel file that will be created and saved on the...
View ArticleSave Outlook appointment to specific folder
How do I save a new outlook appointment to the same folder as another appointment, for which I have the EntryID? The folder should be the same one that the "currentitem" appointment is saved to. I...
View ArticleIs my Excel data extraction not running efficiently?
I'm writing a console app that will extract data from many xls files and lump them into one large csv. I have all the Excel application loading/GC done between each file and I worry it's causing the...
View ArticleRunning VBS SAP from VBA generates Object required error
I'm trying to start a VBS SAP script and to change some of the variables of the VBS code.I get Runtime error '424' Object requiredon Set session = Connection.Children(0)Public Sub SimpleSAPExport() Set...
View Articlecreating nested xml from excel
I am new to vbs and building a script to create nested xml from excel sheet. However, I ended up in creating a flat xml. First, I am trying to check the current row value with previous row value and...
View ArticleGoogle Reverse Geo Coding API - XML format?
I'm using the following code from this link:I had to do some cleaning of the syntax as when I copy and pasted it into VBA, a majority of the text was read (indicating syntax errors) I got it cleaned up...
View ArticleTime format in Excel using excel4node
I am trying to print the number of hours in excel sheet using excel4node application. although the number of hours is getting printed in the excel, I am not able to get the sum or average while...
View ArticleWhy doesn't the update OLEDB query do nothing?
I'm using OLEDB in my program to update an excel sheet. The Execute returns 1 as row update count, but doesn't change nothing. My code is as below:public static void updateExcel(string sql, string...
View ArticleExtract text after specific word
I want to retrieve the text immediately after the word "for" from a string. In the example below, I want to retrieve "GLDSK8716".Completion Notification for GLDSK8716 - Derivative Contracts - Futures,...
View ArticleHow do I copy data from an xlsx file in my google drive to a google sheet?
I have an excel file (.xlsx) saved on my google drive. I want to copy the data from there into a tab in a google sheet file i have already created. I have the following code that runs. But I don't know...
View Articlehow to import data from sharepoint to excel using macro
I wanted to know if there's a way to import data from SharePoint to Excel using Macros. What i want to do is have a library in my sharepoint in which i have an excel document. When i download the...
View Articlehow to read a value from Column Name in Excel in Java
How can I read a value related to Specific Column Names with Apache POI in Excel (xlsx).Column Names is my 1st Row of Excel Sheet . value is the row Which have Y as cell value .My Input is only Column...
View ArticleVBA Loop on Error Resume Next - How to keep the error line blank or zero
I have a vba code that gets the stock price and the vba code is dynamic, it is a loop. Pls. see code below. There are stock symbols that are not found in this API source. So tendency is it will result...
View ArticleJSON parsing - getting stock qoute price
Hope someone could help me resolve error on the code. I'm trying to get a stock qoute using API. But I'm getting an error on this portion. i = Json(1)("amount"). Error is Run-time error '13': Type...
View ArticleC# and ExcelLibrary How to Right Align cells
Does anybody know how to make it so that the content passed to the sheet will right align?
View ArticleDisplay search text in text file with VBA Excel
I am new to VB and have a problem. I hope someone can help me to solve itI have a text file named data.txt It has 1 lines in it...
View ArticleRecreate Excel RATE function using Newton's Method
I'm working on converting a mortgage calculator in PHP, but I don't necessarily need a PHP solution. I'm looking for the logic needed to replicate the Excel RATE function. I've found a solution which...
View Articlehow to paste in different cells
I have aמ Excel workbook that has two sheets. What I want to do is to copy the cells in column A from sheet 1 (NOT AS RANGE OR GROUP, but rather each cell individually). So I using the...
View Article