Rand numbers

Status
Not open for further replies.
B

Bruno Campanini

"Robert" <Robert> wrote in message

news:CC6167D2-5E69-4F24-987E-8E1FB7228134@microsoft.com...
> how do u get rand numbers in power point?


This generates random integers between 10 and 100

=================================================

Public Sub Test()

Dim Lowerbound As Long, Upperbound As Long

Lowerbound = 10: Upperbound = 100

MsgBox Int((Upperbound - Lowerbound + 1) * Rnd + Lowerbound)

End Sub

=================================================

Bruno
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S Outlook 365 Shared mailbox contact group member numbers not matching Using Outlook 0
G Create ordinal numbers for birthday Outlook VBA and Custom Forms 2
R Week numbers for the month in outlook Using Outlook 1
M How does Outlook determine item numbers in a folder? Outlook VBA and Custom Forms 3
Diane Poremsky Make the Address Book show only e-mail addresses, not fax numbers Using Outlook 0
Diane Poremsky Outlook for Mac Version Numbers Using Outlook 0
A phone numbers fields in BCM are not correct BCM (Business Contact Manager) 3
N Eliminate the +1 before all numbers Using Outlook 1
wallisellener Contact Phone Numbers layout BCM (Business Contact Manager) 4
I Outlook 2013 - address book showing FAX numbers - How to only show email? Using Outlook 4
J Outlook Contacts: How to filter contact phone numbers from a cti request Using Outlook 1
Commodore Auto-formatting of certain phone numbers Using Outlook 2
A Help with random numbers in autocomplete emails Exchange Server Administration 3
C Outlook 2010 removes + from mobile numbers Using Outlook 3
B Address Book without fax numbers Using Outlook 1
R Address book to show contacts with no email address or fax numbers Outlook VBA and Custom Forms 2
W Contact Forms Phone Numbers Outlook VBA and Custom Forms 1
S How do i group the mails based on the numbers in the subject line Outlook VBA and Custom Forms 1
T sequential project numbers in Business Contact Manager BCM (Business Contact Manager) 2
E phone numbers & addresses header disappear (customized contact) Outlook VBA and Custom Forms 7
P RE: Remove +1 and area code from phone numbers Using Outlook 5
J How to write a macro to search inbox for certain numbers Outlook VBA and Custom Forms 2
D Exporting reports to Excel gives wrong numbers BCM (Business Contact Manager) 1

Similar threads

Top