N
nj
Hi,
I'd like to run this past this group for any better ideas and some
general information.
I have inherited a workbook. In it are five worksheets that end up as
independent workbooks, associated with five separate links on a
webpage. Each of these five sheets contains some buttons wired to
macros. Hiding/unhiding unused columns or rows, showing/hiding
decimals, etc. These macros are all together in one module.
This becomes a nuisance when we make the separate copies for the web.
I *think* the most elegant solution is to put the macros in the code
area (sorry, don't know the proper term for this) for each of the
worksheets. I haven't done this before -- all of my code to date lives
in the workbook modules, except for the last_mod macros (which I
created by very precisely following the instructions I found in one of
the group posts).
My goal is to simply be able to make a copy of the sheet (after Paste
Special to Values) and have the macros go with automatically.
So, my questions are:
1. Is this the best solution?
2. What is different from when I create macros in the workbook
modules? What do I need to watch out for?
As always, thanks so much. I learn tons from your posts and refer to
them frequently. Kind of makes one wonder what a hit counter would
look like on some of them!
NJ
I'd like to run this past this group for any better ideas and some
general information.
I have inherited a workbook. In it are five worksheets that end up as
independent workbooks, associated with five separate links on a
webpage. Each of these five sheets contains some buttons wired to
macros. Hiding/unhiding unused columns or rows, showing/hiding
decimals, etc. These macros are all together in one module.
This becomes a nuisance when we make the separate copies for the web.
I *think* the most elegant solution is to put the macros in the code
area (sorry, don't know the proper term for this) for each of the
worksheets. I haven't done this before -- all of my code to date lives
in the workbook modules, except for the last_mod macros (which I
created by very precisely following the instructions I found in one of
the group posts).
My goal is to simply be able to make a copy of the sheet (after Paste
Special to Values) and have the macros go with automatically.
So, my questions are:
1. Is this the best solution?
2. What is different from when I create macros in the workbook
modules? What do I need to watch out for?
As always, thanks so much. I learn tons from your posts and refer to
them frequently. Kind of makes one wonder what a hit counter would
look like on some of them!
NJ