Command Button question
- From: "Giselle" <gstars@xxxxxxx>
- Date: Fri, 27 Jan 2006 13:25:51 -0500
Greetings
I'm fairly new at XL programming and I need a bit of help.
I have a work*** that contains, among other things, 5 command Buttons.
Part 1: The 40+ lines of code in each button is identical, except for
some range references. ( eg cmdA, cmdB ...etc refer to Range(D5:E25),
Range(J5:K25) ...etc). Can someone suggest how I can only enter the code
once to save space and have each button run the code with its own
appropriate ranges.
Part 2: There are eventually going to be 24 worksheets like the one
above, each having these same 5 buttons. On each work***, cmdA does the
exactly same thing. (same for cmdB, etc). Ideally, I'd like the code to be
usable by ALL buttons (24x5=120) in the workbook. I'm not sure how to
proceed.
Thank you very much for any help
Giselle
.
- Follow-Ups:
- Re: Command Button question
- From: Leith Ross
- Re: Command Button question
- From: Bob Umlas
- Re: Command Button question
- Prev by Date: Re: Deleting Checkbox Object in Cell
- Next by Date: RE: Simple Report is such a pain!
- Previous by thread: Re: Sort Failing on Some Data
- Next by thread: Re: Command Button question
- Index(es):