macros
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Macros

Macros

resolvedResolved · Low Priority · Version 2007

replyReply Wed 12 Oct 2011, 09:56Delegate Lesley said...

Lesley has attended:
Excel Advanced course

Macros

we have to select random files for audit from existing databases, would a macro be able to be used for this purpose of random sampling

For upcoming training course dates see: Pricing & availability

replyReply Fri 14 Oct 2011, 11:34Trainer Anthony said...

RE: macros

Hi Lesley, thanks for your query. That is possible, but it depends how random you want it! I would put hyperlinked filepaths in a series of cells in Excel and then use the walkthrough below to pick one at random.

http://www.ozgrid.com/Excel/excel-random-pick.htm

To open it, or pick it from a folder you'll need to pick up some VBA!

Hope this helps,

Anthony

Fri 21 Oct 2011: Automatically marked as resolved.

 

Please browse our web site to find out more about
microsoft.excel.training and other Microsoft training courses.

Excel tip:

Checking if a calculation adheres to Order of Precedence

When writing formulas you must make sure that results will be calculated as you intended.

Excel adheres to the standard order of precedence for calculations. It calculates percentages, exponents, multiplication, and division in this order before calculating addition and subtraction.

For example, =7+5*3 results in an answer of 22, not 36.

To force a calculation to be completed before another calculations, place the section in parentheses: =(7+5)*3 will result in 36.

To check how excel is evaluating a formula, click on the cell and select the 'Tools' menu, select 'Formula Auditing' and click 'Evaluate Formula'

In the dialog box click on 'Evaluate' to watch as each part of the formula is successively calculated.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard