Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default How to set a tab stop for a command button

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!

--
Jeff Ciaccio
Physics and AP Physics Teacher
Sprayberry High School; Marietta, GA
Blog: http://sprayberry.typepad.com/ciaccio

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default How to set a tab stop for a command button

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.

--


Gary


"Jeff Ciaccio" wrote in message
...
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!

--
Jeff Ciaccio
Physics and AP Physics Teacher
Sprayberry High School; Marietta, GA
Blog: http://sprayberry.typepad.com/ciaccio



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default How to set a tab stop for a command button

Can I set a tab stop to bring the focus to the button?

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
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.

--


Gary


"Jeff Ciaccio" wrote in message
...
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!

--
Jeff Ciaccio
Physics and AP Physics Teacher
Sprayberry High School; Marietta, GA
Blog: http://sprayberry.typepad.com/ciaccio




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
stop command does not trigger Peter[_21_] Excel Programming 2 January 28th 08 03:19 AM
Wanting to Create A Command Button Command bumper338 Excel Programming 3 May 7th 07 06:53 PM
VB's Command Button vs Form's Command Button Ronald Dodge Excel Programming 3 May 24th 06 02:23 PM
Stop Command Button being copied to new Workbook Ledge Excel Programming 1 March 31st 06 04:49 PM
IF Command to Stop Macro ianripping[_23_] Excel Programming 4 January 16th 04 04:35 PM


All times are GMT +1. The time now is 06:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"