Macors do not run correctly from icon

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a macro & it runs fine when activated from the macros list. I
have applied the macro as an icon on the toolbar but the macro does not run
correctly from the icon. It only completes about half of the code. Why is
this? Thanks

Tony
 
Hi Tony

If you use Excel 97 then

Try to Change the takefocusonclick property to false of the button
This is a bug in Excel 97
 
I see "icon on the toolbar" now

Try to add this line to the macro(first line)

activecell.activate
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top