Link to home
Start Free TrialLog in
Avatar of Michael Hulse
Michael Hulse

asked on

Excel VBA

I have an excel spreadsheet which I have put =RandomizeF in various cells to generate random alpha numeric data in. I want to add a button on the spreadsheet that when clicked would simply cause specified cells to refresh/reload the data in them.
Avatar of Gregory Miller
Gregory Miller
Flag of United States of America image

You can easily create a macro or VBA that runs when the button is clicked. The Macro or VBA code you create would either need to call the function where you initially set the random values or you would need to build a function that writes random values to the cells you want.
ASKER CERTIFIED SOLUTION
Avatar of Roy Cox
Roy Cox
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bill Prew
Bill Prew

Just use Shift + F9 (calculate open sheet) or F9 (calculate all worksheets).


»bp
Pleased to help