LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Macro for event procedure

I have a workbook which contains 35 job sheets and a resource sheet. All of
these sheets contain an identical list of workers down the 4th column, and
dates across the 1st row. This gives me a matrix of resources over time.
The resource sheet collects the sums of the time allocated to the resources
on each job sheet.
I want to create an event procedure which is activated when I select a cell
( the cell is the intersection of a worker ( one per row) and a date(one per
column)) on any of the job sheets.
The event would check the active cell with the corresponding cell address on
the resource sheet, to see if the resource was already allocated to another
job on that date.
The event response for time already allocated to a resource on that date
would be to insert a comment in the cell on the job page which informed me of
the result from the resource page.
In the event of no pre allocated time, there would be no response.
Additionally, when the cell is unselected, I guess I am saying when another
cell is selected, the previous comment would be deleted.
I have done a considerable amount of code on other projects, but I have
never ventured into events where I have had to declare things, Public or
Private. I have read some of the help topics, but must admit that I am
confused and lost.
Appreciation for any help you can provide.

 
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
Using A Macro To Add Event Procedure To A CommandButton Donna[_7_] Excel Programming 4 February 23rd 05 02:44 PM
Using A Macro To Add Event Procedure To A CommandButton Donna[_7_] Excel Programming 0 February 21st 05 02:48 PM
Using A Macro To Add Event Procedure To A CommandButton [email protected] Excel Programming 1 February 21st 05 10:59 AM
How to write a macro to import an event procedure to ThisWorbook? utdcr Excel Programming 3 February 14th 05 10:25 PM
Using A Macro To Add Event Procedure To A CommandButton Donna[_7_] Excel Programming 1 February 8th 05 11:59 PM


All times are GMT +1. The time now is 06:26 PM.

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"