Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default Spin Button control change capture in ThisWorkbook Module

Thanks in advance to all who respond.

I have created a workbook (xl 2K) with separate worksheets for each sales
person.
Each sheet is identical to the other (except for name and individual data).
And each sheet contains a performance chart showing their sales.
There are 2 trend lines - the first is linear and the second is
polynomial.
The data is imported from multiple files in the folder.

The importing and charts work great.

On one sheet I have added a spin-button to control the order of the
polynomial
( 2 - 6) and it works great. The code is in the worksheet module.

Question:
Is there a way that the spin-button click event can be made universal
and initiated from the
ThisWorkbook module? My intent is to remove worksheet code from each sales
person sheet and use the code in ThisWorkbook. (the reason is that new
sheets are being created all the time and I would rather not deal with
individual sheet code.)

I am aware that a user-form could do this, but would prefer to avoid this
route.

Please let me know if I am insane or not...

Again - Thanks...

--
steveB

Remove "AYN" from email to respond


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
Changing Cell Link on Spin Button Form Control Adam Ronalds Excel Discussion (Misc queries) 14 August 27th 09 05:52 PM
Excel spin box - no Control tab in Format Control dialong box tocoau Excel Worksheet Functions 7 August 10th 08 03:15 PM
Calls from sheet module to ThisWorkbook module quartz[_2_] Excel Programming 2 June 23rd 05 03:37 PM
How to use: ThisWorkbook module RichardG Excel Programming 2 October 21st 04 12:44 AM
Command/option/spin button - no control menu available Daniel[_7_] Excel Programming 3 March 5th 04 03:02 PM


All times are GMT +1. The time now is 07:01 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"