LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Universal CommandButtons Accross Worksheets

I have a workbook with sheets for everyday of the month in it. I want to add
common command buttons that are visible and usable in every sheet. That way
it will automate some routine actions.

Right now I have six command buttons and 485 lines of code for Just One
worksheet that is not yet populated with daily meta-data.

My question is -- how do I "Share" the buttons and the code for the buttons
accross all 30 sheets without having to copy&paste them and the code into
every worksheet because if I do that then the size of the file grows and the
reaction time of the spreadsheet is decreased?

I've tried using "ThisWorkbook" and Modules but I still have to place the
buttons into everyworks sheet and then configure every button like this...

Private Sub DoThis_Click()
ThisWorksheet.SetCustomBorders
End Sub

Any help would be very nice.
Thanks in Advance,
Rob
 
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
sum accross worksheets using names ShaunL Excel Worksheet Functions 1 December 4th 09 02:38 AM
VLookup accross multiple worksheets jedman Excel Worksheet Functions 8 November 11th 08 06:37 PM
SumIf accross multiple worksheets Karen53 Excel Worksheet Functions 6 August 23rd 07 08:01 AM
Copying Sum formula accross to other worksheets Afsha Excel Discussion (Misc queries) 1 July 5th 07 11:22 AM
Making a macro universal to create multiple worksheets bobbak Excel Programming 0 March 28th 06 01:30 PM


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

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

About Us

"It's about Microsoft Excel"