Excel VB

  Woody Ham 20:39 01 Nov 2007

Don't know if this is the right forum but I am trying some VB on Excel and want to run a macro called display through a command button.

I have tried :
Run display
Run (display)
Run Macro display

but nothing works.

Can anyone help or direct me to an appropriate site please.

  VoG II 21:19 01 Nov 2007

If you are calling this macro from another macro then the correct syntax is

Call Display

But if you have the button already, right click it > Assign Macro and assign the macro Display.

The above assumes that you already have a macro called Display in the current workbook.

  Woody Ham 21:31 01 Nov 2007

Thanks,VoG. Sorted.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Dell XPS 13 9370 (2018) review

Best Keyboards for Designers & Artists

What to ask Siri on the HomePod

Meilleurs VPN (2018)