Excel Button select range

R

Randal

Why does this work in a macro but not in the code for a button?
"Range("B3:C3").Select"
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < Randal > écrivait :
In this message, < Randal > wrote:

|| Why does this work in a macro but not in the code for a button?
|| "Range("B3:C3").Select"

Ooops... souds like an excellent question for an Excel group!

By the way, have you tried putting a Stop command just before your code and
then clicking on the button to see if the button is actually correctly
calling the code? Just a long shot...

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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

Top