Upload
vuongngoc
View
213
Download
0
Embed Size (px)
Citation preview
NUS LibrariesNational University of SingaporeAsset Management, Central Library, 12 Kent Ridge Crescent, Singapore 119275.
VBA: Visual Basic for ApplicationsLimitless Possibilities
Cheng Eng Aun Ng Peck Suan Ong Hong Kiat Geraldine Kwang Wong Suei [email protected] [email protected] [email protected] [email protected] [email protected]
What is VBA?
Feature Advantage
Available in every Microsoft Office suite No additional cost
Visual Basic resembles English language Eases the learning curve
Access to Windows API Deep integration to low-level functions
Conditionals Data treated according to scenarios
Looping Automating repetitive processes
Sequential or simultaneous execution Optimizing use of computational resources
An Integrated Development Environment in Microsoft Office Uses a variant of Visual Basic
Manual
Copytitle fromExcel list
Search inOPAC
Examineresultspage
Enterresults inExcel list
Auto
PrepareOPAC URLsfrom title
Open pagethroughMSXML
Retrievetext fromspecificclasses
Extractrequireddata usingfunctions
Application Example: Macro for Checking Title List in OPAC
15sCycle Time
3sCycle Time
Runs in the backgroundRequires a dedicated staff