Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have created a bid template that calculates a price based on the count that
I give it Example: 22 item abc $45 $990 12 item cba $12 $144 if the item count is 0, I would like it to hide that row, and when I print the bid, I would like to have the option to hide the columns for unit price and total price for all items. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
you can use datafilter to hide rows. Suggest a macro to hide the rows and
columns based on your criteria. for each c in selection if c=1 then rows("1:5").hidden=true etc next -- Don Guillett SalesAid Software "Sqwilly" wrote in message ... I have created a bid template that calculates a price based on the count that I give it Example: 22 item abc $45 $990 12 item cba $12 $144 if the item count is 0, I would like it to hide that row, and when I print the bid, I would like to have the option to hide the columns for unit price and total price for all items. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to do a similar thing ...
Is it feasible to execute a similar macro from within a if() function? Luke. "Don Guillett" wrote in message ... you can use datafilter to hide rows. Suggest a macro to hide the rows and columns based on your criteria. for each c in selection if c=1 then rows("1:5").hidden=true etc next -- Don Guillett SalesAid Software "Sqwilly" wrote in message ... I have created a bid template that calculates a price based on the count that I give it Example: 22 item abc $45 $990 12 item cba $12 $144 if the item count is 0, I would like it to hide that row, and when I the bid, I would like to have the option to hide the columns for unit price and total price for all items. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Formulas can't do that kind of thing.
But there are workarounds. There are worksheet events that can be on the lookout for a value in a cell. And that can be just as effective. Luke Vogel wrote: I'm trying to do a similar thing ... Is it feasible to execute a similar macro from within a if() function? Luke. "Don Guillett" wrote in message ... you can use datafilter to hide rows. Suggest a macro to hide the rows and columns based on your criteria. for each c in selection if c=1 then rows("1:5").hidden=true etc next -- Don Guillett SalesAid Software "Sqwilly" wrote in message ... I have created a bid template that calculates a price based on the count that I give it Example: 22 item abc $45 $990 12 item cba $12 $144 if the item count is 0, I would like it to hide that row, and when I the bid, I would like to have the option to hide the columns for unit price and total price for all items. -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Dave ...
Me thinks more investigation is needed. Cheers. "Dave Peterson" wrote in message ... Formulas can't do that kind of thing. But there are workarounds. There are worksheet events that can be on the lookout for a value in a cell. And that can be just as effective. Luke Vogel wrote: I'm trying to do a similar thing ... Is it feasible to execute a similar macro from within a if() function? Luke. "Don Guillett" wrote in message ... you can use datafilter to hide rows. Suggest a macro to hide the rows and columns based on your criteria. for each c in selection if c=1 then rows("1:5").hidden=true etc next -- Don Guillett SalesAid Software "Sqwilly" wrote in message ... I have created a bid template that calculates a price based on the count that I give it Example: 22 item abc $45 $990 12 item cba $12 $144 if the item count is 0, I would like it to hide that row, and when I the bid, I would like to have the option to hide the columns for unit price and total price for all items. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide columns but not the top rows | Excel Discussion (Misc queries) | |||
Excel 2007 - Hide & Unhide Columns/Rows | Excel Discussion (Misc queries) | |||
Hide columns and rows | Excel Worksheet Functions | |||
How do I delete columns and rows in Excel, not just hide them | Excel Discussion (Misc queries) | |||
Hide Rows and Columns | Excel Programming |