Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Macro Buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chersie - 31 May 2008 12:31 GMT
I have 32 worksheets.  I have placed the same 14 macro buttons on each
worksheet.  My file is over 10 mega bytes.  Is that because of all the macro
buttons?  How can I reduce the size of the file and still get the
functionality?

Thank you for any help you can give.  I don't want to but will remove the
macro buttons from each worksheet if I have to.
Norman Jones - 31 May 2008 13:15 GMT
Hi Chersie,

Without a much more intimate knowledge
of your workbook, it is difficult to be
categoric about the size of your workbook;
at its most benign, the size could simply be
a legitimate reflection of  sheer volume of
data,

That said there are various general areas
which may be addressed:

(1)  Reduce the size of each of the 32
      worksheets to the real data area. In this
      connection, see Debra Dalgleish's
      suggestions on restiing the Used Range
       at:

       http://www.contextures.com/xlfaqApp.html#Unused

(2) Consider if 32 sheets really are necessary.
     If, as potentially suggested by another
     thread, the first sheet represents a master
     database and the remaining sheets display
     subordinate detail, perhaps you might
     consider:

           - deleting the detail sheets and using
             the Excel's AutoFilter, Advanced
             Filter or Pivot  Table tools to provide
             the reuired report information.

             If you are not familiar with these tools,
             see Debra Dalglesh at:

            Excel -- Filters -- AutoFilter Basics
            http://www.contextures.com/xlautofilter01.html

            Excel -- Filters -- Advanced Filters -- Introduction
            http://www.contextures.com/xladvfilter01.html

            Using Pivot Tables in Excel
            http://www.peltiertech.com/Excel/Pivots/pivottables.htm

 (3)  If the 14 macro buttoms on each of
        the 32 sheets perfom analagous operations,
        consider replacing the 32 x 14 buttons with
        a customised toolbar with a single set of
        buttons, possibly adapting the button code
        to operate on any of the sheets of interest.

However, the relevance of the above
suggestions will depend on your data and
your particular requirements; the suggestions
are, therefore, to be regarded as points for
consideration.

---
Regards.
Norman

>I have 32 worksheets.  I have placed the same 14 macro buttons on each
> worksheet.  My file is over 10 mega bytes.  Is that because of all the
[quoted text clipped - 4 lines]
> Thank you for any help you can give.  I don't want to but will remove the
> macro buttons from each worksheet if I have to.
Chersie - 31 May 2008 13:46 GMT
Hi Norman,

Absolutely perfect suggestion.  Cannot believe I didn't think of the toolbar
idea!  That will work perfectly.  Thank you so much!

> Hi Chersie,
>
[quoted text clipped - 65 lines]
> > Thank you for any help you can give.  I don't want to but will remove the
> > macro buttons from each worksheet if I have to.
Don Guillett - 31 May 2008 13:45 GMT
Also, hard to say without seeing your workbook.(send to my address below if
desired)
If you must have 32 sheets why not just use a double_click event to double
click on the cell to do whatever is desired from there.
Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>I have 32 worksheets.  I have placed the same 14 macro buttons on each
> worksheet.  My file is over 10 mega bytes.  Is that because of all the
[quoted text clipped - 4 lines]
> Thank you for any help you can give.  I don't want to but will remove the
> macro buttons from each worksheet if I have to.
Chersie - 31 May 2008 17:09 GMT
I am sending you the file.  I hope you can receive it since it is so large.

Thanks,
Cheri

> Also, hard to say without seeing your workbook.(send to my address below if
> desired)
[quoted text clipped - 8 lines]
> > Thank you for any help you can give.  I don't want to but will remove the
> > macro buttons from each worksheet if I have to.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.