Skip to Main Content
Computing with Excel and VBA
book

Computing with Excel and VBA

by S.I. Krishan
August 2008
Beginner to intermediate content levelBeginner to intermediate
298 pages
10h 49m
English
Jones & Bartlett Learning
Content preview from Computing with Excel and VBA
Chapter 11 VBA Programming252
the list of worksheet functions for you to choose when you type WorksheetFunction
followed by a period in the code window.
Example 11.1 Interactive Coin Toss Worksheet
With what we have learned so far about VBA and macro coding, let us put these ideas
together to create an interactive worksheet by writing two macros. Both macros will be
Table 11.2 Some of VBA’s Built-in Functions
Function Description
Asc(string) The argument is a string; the function
returns the character code of the first letter
in the string.
Int(number) Returns the integer portion of a number.
Rnd
Returns a random number between 0 and 1.
LCase(string) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel Programming with VBA Starter

Excel Programming with VBA Starter

Robert F Martin
Programming Excel with VBA and .NET

Programming Excel with VBA and .NET

Jeff Webb, Steve Saunders

Publisher Resources

ISBN: 9780763756680