[RESOLVED] VBS fetching records from a DB and output that into Excel
Hello I would like to be able to write a VBS code that 1-connects to a SQL table runs a query , disconnects 2-moves the output into an Excel sheet. 3-Waits for # minutes 4-go to Step 1 I am not a VBS...
View Article[RESOLVED] ADOB record sets
I cant get the values from the resultset saved in values(0)(1)(2) . They are shown as empty. Do you know what the problem is ? ==================== OUTPUT STARTS{ 10,344,2 }END ___________________ Set...
View Article[RESOLVED] writing to excel
after WScript.Echo "objWorkbook.Close" , I get a message if i want to save my changes to the file !!!! I thought the file should have been brand new and the previous version already been deleted ----...
View Articlehow to convert ASCII to Unicode when export to excel(.xls) using Classic asp
Hello All Iam working on classic asp developer and i am trying to export some record set data to excel , but in that excel contains unicode characters(Chinese) and i am getting error message such as...
View ArticleIDK whats wrong... "Eliminating unnecessary files from a folder with a filelist"
Hello, This is working just fine but when the filelist is too large....( too many filenames), it moves some files and then stops.... not show an end result message of sucess or failure... Code:...
View ArticleOutlook Send Email to Listbox Name
I am new to VBA and have been searching google for an example close to my needs. I am wanting to create VBA script (to run in Outlook not Excel) to send an email template that has the email address and...
View ArticleA wonderful file move script just needs a lil tweaking!
The script.vbs file basically moves files (whose exact filenames are on a list.txt file) from one folder to another . Currently, it asks for an extension but i dont want that behaviour. here i disabled...
View ArticleRun Psexec.exe from vbscript to disable scheduled task on Windows 10
Hello everyone. I need a vbs script to disable windows update scheduled task using Psexec.exe, which is located in the same directory as the vbs script. I need Psexec.exe as it is the only way for me...
View ArticleADODB.Stream object WriteLine Method supports vbTab
Hello All, I am using ADODB.Stream object loading data to excel file(.XLS) to convert Unicode format text. Below code i am using for Unicode conversion. Function OutputOneFileNew(flCnt, RS, fs) Dim...
View Article22 digit number read as double, scientific notation, need string
Hello, I work for a company that has a lot of Classic ASP/VB Script code I have to maintain while we slowly convert everything. One problem I recently ran into is we switched shipping providers and the...
View Articlevbscript remove line from text file if duplicate found
Hi All, I am using a vbscript file to count lines of data for a specific date. Based on this sample data from my text file, how can I remove lines that contain a duplicate after the first comma? Code:...
View ArticleVBScript to right click system tray icons?
I have a procedure i'm trying to automate with VBScript to right click a system tray icon "Resturant Tools" and to click the fifth option from the bottom , fourth from top and that's it. i am planing...
View Articlevbscript import xml data to excel
Hello ! I have an excel spredsheet that needs to be completed with some static data and also variable data. This variable data is in a XML file, that I need to get some nodes and put this data in the...
View ArticleCustomer Name which can contain a string and integer
Hi all, I am new to this forum and I decided to register as a I need help on below issue. I am having a big set of customer names, and the customer names can have characters and integers. The list is...
View ArticleHow to Copy specific range column values from one excel 365 file to another...
Hi there, I'm trying to copy specific column values (range "M:P") from one excel 365 file to the other on the range "M:P", using VBScript. This is what I've tried. Code: Set objExcel =...
View ArticleVBScript To copy the specific columns only to specific cell in Excel 365
Hi, I'm trying to copy specific column values (range "M:P") from one excel 365 file to the other on the range "M:P", using VBScript. Master.xlsx file structure Copy_2022.xlsx file structure (after the...
View Article80040e10|No_value_given_for_one_or_more_required_parameters
Greetings, I volunteer for a local animal rescue group and have been tasked to maintain the group's website since the webmaster moved on. I have little experience with code, so I am looking for a...
View ArticleAvaya CMS VB Scripting
Hello - Wondering if someone can shed some light on how to pull the prior month via the VB Scripts, but the report is in a daily report; To and From date requirements. It has been a while since I have...
View Article[RESOLVED] RC6 cConnection.CreateTableFromADORs with ASP
Hello, I´m trying to use RC6 CreateTableFromADORs in a very simple page, reading from a SQLServer 2019 database, but always get a Type Mismatch error: Code: set aConn =...
View Article