VBscript Questions

Sort by:

Need help with VBScript that reads*.log file and look for …

Comments: 1

Need help with VBScript (new to scripting) that reads*.log file and look for specific word.Script must read latest ( date) file generated. I

Author: vizcainomTags: Windows, VBScripting, Fso asked 169 days ago

Delete specified file if older than certain number of day

Comments: 1

Just need a simple script that will delete a specific file (e.g. in C:\Logs) if it is older than, say, 30 days.

Author: William_D asked 293 days ago

Replace file on remote system

Comments: 1

I need to replace an ini file on any remote pc. Before this happens, I need to stop the service that locks the file. I have most of the logic down but I am stuck at reading and replacing the file on the remot...

Author: William_D asked 323 days ago

VB Script to delete subfolder if subfolders contains no files

Comments: 5

For eaxmple: C:\Test contains several subfolders named Office1, Office2, Office3. Within the Office Subfolders is a subfolder named User. If subfolder User contains no files, I want to del...

Author: William_D asked 342 days ago

cscript vbscript does not work on elevated permissions on …

Comments: 2

Hello, I have a java executable program that has to run As Administrator. From this program I call cscript to execute a vbs script to open and attach files to an outlook message- this works fine if the ...

Author: modono asked 362 days ago

Script to delete all files older than 30 days with a specific …

Comments: 2

Hi I am have been looking for a script that will delete all files older than 30 days, within the root folder specified and all sub-folders,that have a specific extension. In this case the extension i...

Author: bmwbadboy asked 1 year 6 days ago

vbs for openOffice

Comments: 1

'This is an Open Office Basic macro which creates a simple table in a Writer text document, and then adjusts the width of the columns by manipulating the values of the TableColumSeparator property. ...

Author: casualwriter asked 1 year 244 days ago

How to import records from Oracle Table into a text file with…

Comments: 3

Hi, Can anyone help me to know how to import records from Oracle table into a text file with proper alignment using VB Script. Moreover i dont have Oracle client installed in my machine and not t...

Author: Vamshi asked 1 year 315 days ago

Unzip file nested with folders and rename file

Comments: 1

Here's what I need to accomplish: 1. identify each zip file in a defined folder 2. for each zip file a. save the file name, minus the extension b. unzip the file c. create...

Author: kkbenj asked 1 year 327 days ago

Simple script to unzip files

Comments: 4

I am getting this error: Line 17 Object required: 'objShell.NameSpace(...)' Code: 800A01A8

Author: kkbenj asked 1 year 327 days ago

Help with VBScript to check is Share$ exists and then rem…

Comments: 19

Hello, I am trying to work on a script that will do the following: 1.) Check to see if the share TESTING$ exists, if it doesn't, just quit. 2.) If it does exist, remove any exi...

Author: twdeveloper asked 1 year 360 days ago

copy chart as picture with enhanced file format

Comments: 1

Hi Friends, I want to copy charts as picture with enhanced file format and paste it in PPT through VBscript, I am using 2007 MS office. Regards, Sara

Author: srajaTags: chart+picture... asked 2 years 2 days ago

Numbered list in PPT

Comments: 2

I have pasted 4lines in a ppt slide through VBScript from excel, Now I want to format it as numbered list. i am using MS office 2007.

Author: srajaTags: numbered list, ppt, script asked 2 years 10 days ago

Script to Check and Replace Network Printers

Comments: 5

Hello everyone, I need a script that will do the following... 1. Pull a list of all the network printers currently present on a user machine 2. Create a txt file (or CSV) somewhere locally ...

Author: DickyDckTags: Printer, VBScript, Remove Printer asked 2 years 11 days ago

loop through selected sheets in a workbook

Comments: 1

i am trying to loop through some worksheets to copy data from them and paste into another worksheet. I would like to loop through the worksheets instead of having a paragraph of code for each iteration...

Author: caron asked 2 years 17 days ago

800A0046 error when moving file to a different folder

Comments: 4

I have attached my code, which works occasionally, but usually gives me the run-time error. We have checked the permissions settings and they seem fine. Is there something with the syntax of thi...

Author: davidamTags: vbScropt asked 2 years 132 days ago

VBS Login Script - objNetwork.RemoveNetworkDrive pro…

Comments: 2

Hey Guys, We are about to migrate one of our file servers and as a result need to change the login script. Everything about the script is fine other than it will not remove the S:\ (strDriveLetter...

Author: supportemea asked 2 years 132 days ago

Need to have the datasource changed, store sheetname a…

Comments: 4

Hi im using this in a part of macro, the issue is that im importing cvsfiles and the macro continues. Each csv file has its file name as sheet name, so when I create the pivot table it has to use the ...

Author: Dabosa asked 2 years 132 days ago

Need help with a .bat file

Comments: 10

Hello, Just trying to get used to using .bat files and automating an installation. Downloaded MBSA from Microsoft and saved it to my C drive. Opened notepad and created a .bat file c...

Author: AJJ36Tags: .bat asked 2 years 132 days ago

Set Cookie code - cookie erases when browser session i…

Comments: 10

I wrote this code, seems to work fine when the browser is open, but once the session ends or the browser closes, the cookie deletes itself. I''m sure it's something really simple b...

Author: TheWebGuy38Tags: vb.net, asp.net, visual basic s... asked 2 years 132 days ago

Object required error

Comments: 14

i have the following code: Sub SendErrorMsg(EmailSubject, EmailBody, ToEmailList, ccEmailList) On Error GoTo Err_SendEmail Dim myOlApp As Outlook.Application ...

Author: miketonnyTags: MS access 2..., VBA asked 2 years 132 days ago

Mid function problem

Comments: 11

Hi, i'm experiencing this strange problem. I have a check on a string, which normally has value of "Price1", but sometimes it has values like "P1". so i have following code to deal with it...

Author: miketonnyTags: VB, Access asked 2 years 132 days ago

How can I get domain username and password info via vbs…

Comments: 7

I am planning on automating saving birt report as pdf whose url is https://xyz.com/viewserver/rw?module=birt&birt_report=releasereport/binder-report-card&port=TR-MULTI&rpttag=libor...

Author: excellence9 asked 2 years 132 days ago

2 dimensional lookup

Comments: 10

In the spreadsheet attached I have two worksheets A and B . A has the raw data (a) - Based on the raw data . Values should be in returned in C3 of B worksheet using the lookup formula...

Author: VamshiKorde asked 2 years 133 days ago

Object doesn't support this property or method when com…

Comments: 14

Hi - I am writing a script to take a csv file of print logs and output a new file of print logs if the user in the logs belongs to a specific group, which I am reading in from another csv file. When executing t...

Author: mptcmanageTags: vbscript asked 2 years 134 days ago

Log In

Forgot your password?Sign up

Stay Connected

Top Experts

  1. RQuadling

    5,040

    0 points yesterday

    Profile
  2. billprew

    4,000

    0 points yesterday

    Profile
  3. sirbounty

    3,600

    0 points yesterday

    Profile
  4. RobSampson

    2,600

    0 points yesterday

    Profile
  5. rdivilbiss

    2,000

    0 points yesterday

    Profile
  6. weellio

    2,000

    0 points yesterday

    Profile
  7. Hickory420

    2,000

    0 points yesterday

    Profile
  8. itkamaraj

    1,600

    0 points yesterday

    Profile
  9. vadimrapp1

    600

    0 points yesterday

    Profile
  10. Daz_1234

    400

    0 points yesterday

    Profile

BrowseAre you an Expert?