Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

macro

ResolvedVersion 2010

Kathryn has attended:
Excel Intermediate course

Macro

How do you record a formula in a macro without copying the values? I want to use a macro to sort a list and divide a cell by 10%. However, when I record the macro, it saves my values. I want to be able to insert any values.

RE: Macro

Hi Kathryn, thank you for your question.

It is possible to create a Macro that allows you to change the values however this would require some programming (rather than recording) the macro.

For example using the Visual Basic for Applications (VBA) programming language it would be possible to add a message box to the macro so that it asks for the values you wish to use when it runs.

Unfortunately that is outside the scope of this forum - however you may be interested in our Excel VBA training course. You can find details here.


Do let me know if you have any further questions.

Kind regards,
Andrew

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Using Alt in Save Dialog Box

When you are saving (or opening) a file, try these;
(Note the numbers are on the keyboard not the numeric keypad)
1. Go to previous folder Alt+1
2. Go up one folder level Alt+2
3. Search the Web Alt+3
4. Delete selected file Alt+4 or Delete
5. Create a new folder Alt+5
6. Cycle through all views Alt+6 repeatedly
7. Display the Tools menu Alt+7

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.