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

course excel in london - vb

Forum home » Delegate support and help forum » Microsoft Excel Training and help » course excel in london - VB

course excel in london - VB

ResolvedVersion Standard

Rachel has attended:
Excel Intermediate course
Excel Advanced course
Excel Intermediate course

VB

how do you take out a particular function in a macro using the editor if you have made a mistake

RE: VB

Hi Rachel

Could yuo be more specific?

Have you made an error while recording the macro? ie deleted the wrong thing?

Carlos

RE: VB

Hi,
I have made an error when recording a macro and want to remove the line without having to delete the macro and re-record it.
thanks

RE: VB

Rachel

In that case do the following:

1. Select the Tools menu

2. Click Macro / Macros (Alt + F8)

In th Macros dialog box

3. Select the macro you want to edit and click the Edit button

The Code window appears displaying your macro's code.

4. Edit/Delete the unwanted code

5. Close the code window and rerun the macro

Hope this helps

Carlos

 

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:

Stop Formula Returning A "#DIV/0" Error

If a formula returns a #DIV/0 error message there is a way to avoid such results.

For example the formula =A1/B1 will return a #DIV/0 if B1 is empty or a zero.

If you protect your formulas with the ISERROR function, the formula will then look like this:

=IF(ISERROR(A1/B1),0,A1/B1)

In plain English: should the result of A1 divided by B1 be an error change the result to 0 else show the result of A1/B1.

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.