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

macros

ResolvedVersion 2003

Lauren has attended:
Excel Advanced course

Macros

Once you have recorded a macro but realise you have made a mistake can you edit it?

RE: Macros

Hi Lauren,

Thank you for your question.

Every time you record a macro, in the background excel is writing the Visual basic code for every mouse click.

Yes you can edit the macro but it needs to be edited in the Visual Basic window. In order to make changes to the macro, you will have to know Visual Basic code and where that macro was stored.

Alternatively, delete the macro through Tools, Macro and Macros and then record the correct procedure.

I hope this answers your question.

Regards

Simon

Excel tip:

Reconciling a list to correspond with another

May have a list that needs to make but on another sheet one list seems to be out, eg. product list one sheet contains all product and inventory data, while the other contains pricing data. Both need to match with all products but there is more products in one list than the other. To find the disparaging product compare data in the two columns that need to match Make sure that order the same way.
Create another column in the sheet that has the most items and type in the first cell


=Exact(text1,text2) text1 being the cell that you want compared with text2 cell reference. Drag to filldown and your first false will give you for first cells that does not match. Correct insert the row with data in other sheet and continue the process until all the data returns true. Delete the column inserted.

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.11 secs.