Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have an interesting project to work on and I am not quite sure what
the best method to attack it would be. I have two sheets.... 'Footages' and 'Breakdown' Footages is a general line item description with footages for each floor, with the floors laid out in columns starting with 1 thru X Breakdown pulls the description and the total footage from the Footages sheet. What I need to do is dynamically create line items in the Breakdown sheet per floor. Example: If I enter on the Footages page, Wall Type A, with 100 feet on each of the first 3 floors, I have 300 total feet for Wall Type A but on my Breakdown sheet I need it pull the total line, then recognize something in the 1st floor column and add a line item below the total and do the same for the 2nd floor, the 3rd floor, and so on... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It looks to me like you'll need a Worksheet.Change event on the Footages
sheet. "Matt" wrote: I have an interesting project to work on and I am not quite sure what the best method to attack it would be. I have two sheets.... 'Footages' and 'Breakdown' Footages is a general line item description with footages for each floor, with the floors laid out in columns starting with 1 thru X Breakdown pulls the description and the total footage from the Footages sheet. What I need to do is dynamically create line items in the Breakdown sheet per floor. Example: If I enter on the Footages page, Wall Type A, with 100 feet on each of the first 3 floors, I have 300 total feet for Wall Type A but on my Breakdown sheet I need it pull the total line, then recognize something in the 1st floor column and add a line item below the total and do the same for the 2nd floor, the 3rd floor, and so on... |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On May 23, 6:24 pm, Barb Reinhardt
wrote: It looks to me like you'll need a Worksheet.Change event on the Footages sheet. "Matt" wrote: I have an interesting project to work on and I am not quite sure what the best method to attack it would be. I have two sheets.... 'Footages' and 'Breakdown' Footages is a general line item description with footages for each floor, with the floors laid out in columns starting with 1 thru X Breakdown pulls the description and the total footage from the Footages sheet. What I need to do is dynamically create line items in the Breakdown sheet per floor. Example: If I enter on the Footages page, Wall Type A, with 100 feet on each of the first 3 floors, I have 300 total feet for Wall Type A but on my Breakdown sheet I need it pull the total line, then recognize something in the 1st floor column and add a line item below the total and do the same for the 2nd floor, the 3rd floor, and so on...- Hide quoted text - - Show quoted text - Okay. That is what I was thinking but I wasn't sure if using some type of Event Handler would be the best method. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would recommend putting something at the beginning to check for the
specific cells that you are updating. Something like this: If not intersect(target,Range("A3")) is nothing then 'Put your actions here. End if I'd also recommend that you give your worksheets some CodeNames. Try right clicking on either of the sheet tabs and view code. Then press F4 to see the properties window. In the Project window, select (say) the Footages sheet. In the Properties window, you'll probably see (Name) Sheet1 Change Sheet1 to Footages. When you reference items on that sheet, use Footages.range(...) or Footages.Cells(...) I find it easier to keep track of my code when I use Worksheet CodeNames. HTH, Barb Reinhardt "Matt" wrote: On May 23, 6:24 pm, Barb Reinhardt wrote: It looks to me like you'll need a Worksheet.Change event on the Footages sheet. "Matt" wrote: I have an interesting project to work on and I am not quite sure what the best method to attack it would be. I have two sheets.... 'Footages' and 'Breakdown' Footages is a general line item description with footages for each floor, with the floors laid out in columns starting with 1 thru X Breakdown pulls the description and the total footage from the Footages sheet. What I need to do is dynamically create line items in the Breakdown sheet per floor. Example: If I enter on the Footages page, Wall Type A, with 100 feet on each of the first 3 floors, I have 300 total feet for Wall Type A but on my Breakdown sheet I need it pull the total line, then recognize something in the 1st floor column and add a line item below the total and do the same for the 2nd floor, the 3rd floor, and so on...- Hide quoted text - - Show quoted text - Okay. That is what I was thinking but I wasn't sure if using some type of Event Handler would be the best method. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On May 24, 5:13 am, Barb Reinhardt
wrote: I would recommend putting something at the beginning to check for the specific cells that you are updating. Something like this: If not intersect(target,Range("A3")) is nothing then 'Put your actions here. End if I'd also recommend that you give your worksheets some CodeNames. Try right clicking on either of the sheet tabs and view code. Then press F4 to see the properties window. In the Project window, select (say) the Footages sheet. In the Properties window, you'll probably see (Name) Sheet1 Change Sheet1 to Footages. When you reference items on that sheet, use Footages.range(...) or Footages.Cells(...) I find it easier to keep track of my code when I use Worksheet CodeNames. HTH, Barb Reinhardt "Matt" wrote: On May 23, 6:24 pm, Barb Reinhardt wrote: It looks to me like you'll need a Worksheet.Change event on the Footages sheet. "Matt" wrote: I have an interesting project to work on and I am not quite sure what the best method to attack it would be. I have two sheets.... 'Footages' and 'Breakdown' Footages is a general line item description with footages for each floor, with the floors laid out in columns starting with 1 thru X Breakdown pulls the description and the total footage from the Footages sheet. What I need to do is dynamically create line items in the Breakdown sheet per floor. Example: If I enter on the Footages page, Wall Type A, with 100 feet on each of the first 3 floors, I have 300 total feet for Wall Type A but on my Breakdown sheet I need it pull the total line, then recognize something in the 1st floor column and add a line item below the total and do the same for the 2nd floor, the 3rd floor, and so on...- Hide quoted text - - Show quoted text - Okay. That is what I was thinking but I wasn't sure if using some type of Event Handler would be the best method.- Hide quoted text - - Show quoted text - Thanks! I appreciate the comments and thoughts. Matt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
inserting rows inbetween rows of data ? | Excel Discussion (Misc queries) | |||
Copying & Inserting Rows w/o Affecting other Rows Etc. | Excel Worksheet Functions | |||
Inserting Blank rows after every row upto 2500 rows | Excel Worksheet Functions | |||
Why is inserting rows throwing off my hidden rows | Excel Programming | |||
Inserting multiple rows in excel with data in consecutive rows | Excel Programming |