How to set a tab stop for a command button

J

Jeff Ciaccio

I have put a command button on a sheet, and there is code behind it, but I
don't know how to view that code. I have tried going to design mode and
double clicking, but it just runs the procedure. If I'm in the VBA
environment, where do I go to see the code and the properties for a command
button?

I have only a few cells unlocked, so the tab stops go to only those. Is
there a way to make another tab stop on the command button?

Thanks!
 
G

Gary Keramidas

if it was created with the forms toolbar, just right click on it and choose
assign macro to see what the code is

go to the vb editor to view the code in the module.

if it was created with the control toolbox, then go to the vbe editor and doubl
click the sheet name it resides on under excel objects.
 

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