Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 23rd, 2006, 04:37 PM
Authorized User
 
Join Date: Feb 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default run vbscript from Access

I have some vbscripts that I would like to execute from an Access form by clicking on a command button. Is there a way to do this?

Thanks,
Scott
__________________
ScottP
 
Old March 24th, 2006, 01:21 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Yes, put the script on the button's On Click event. I do this all the time.

VBScript, VBA and VB.NET are all very similar and can be run from MS Office apps (after compilation for .net)

HTH


mmcdonal
 
Old March 24th, 2006, 07:02 PM
Authorized User
 
Join Date: Feb 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh that is too easy. Works like a charm.

Thanks,
Scott





Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert a batch file to run in VBscript - WSH issu malcomm VBScript 0 October 25th, 2006 12:35 AM
Access page parameters from vbscript jnralfe ASP.NET 1.0 and 1.1 Basics 1 September 17th, 2004 05:20 AM
VBScript access of datagrid text badgolfer ASP.NET 1.0 and 1.1 Basics 2 July 15th, 2004 11:55 AM
Search Algorithm for Access using VBScript mjwtaylor Classic ASP Databases 2 April 27th, 2004 07:13 AM
Run registry keys in VBScript Quasimodo VBScript 2 August 8th, 2003 06:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.