Solved

VB Script - VBS - running them outside of MS Office apps?

Posted on 2014-07-20
4
306 Views
Last Modified: 2014-07-21
Do you need to be inside an MS Office application to run a VBS file? (Visual Basic Script)?

Also can I get a few learning sites for VB script?  I know very little about it.
0
Comment
Question by:brothertruffle880
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 27

Assisted Solution

by:MacroShadow
MacroShadow earned 334 total points
ID: 40208258
No. The programming language within Microsoft Office files is Visual Basic for Applications aka VBA. VBS aka Visual Basic Script is a similar subset of Visual Basic, but it is stand-alone.
0
 
LVL 27

Accepted Solution

by:
MacroShadow earned 334 total points
ID: 40208262
0
 
LVL 13

Assisted Solution

by:duncanb7
duncanb7 earned 166 total points
ID: 40208268
Starting the VB Script for your first code from tutorial from MS site at
http://technet.microsoft.com/en-us/scriptcenter/dd940112.aspx

After that, you have test.vbs, you can run it at command-lin with "cscript test.vbs" or
open Window Explorer and search or locate the and click  test.vps file

Duncan
0
 

Author Closing Comment

by:brothertruffle880
ID: 40208416
Thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Script to copy or move mouse-selected collection of files plus targets referenced by shortcuts (.lnk) The purpose of this article is to help illuminate the real challenges and options available (where they may exist) for utilizing simple scriptin…
This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question