Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
beb beb is offline
external usenet poster
 
Posts: 6
Default How can I specify workday capacities in a dynamic calendar???


Hi people,

I have a dynamic calendar where user enters the starting day and excel
fills the remaining rows. Also, I have a capacity row, showing
production capacity daily. What I want to and cannot do is, for sundays,
corresponding capacity will be equal to 0. I could easily write an IF
expression but the user will enter the capacities AFTER the new calendar
is generated, so he/she will delete my formulas.

Does anyone know how I can make sure that this procedure becomes
permanent and unchangeable by the user? Thanx already...


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default How can I specify workday capacities in a dynamic calendar???

You could have some code enter the "IF" expression in the appropriate cells
each time a new calendar is created. Or some code that will loop through
each new calendar looking for Sundays and place a "0". What you described is
the calendar days and the capacity data are all in the same column on
alternating rows. This would not be good practice for data organization.
Data of one type should be contiguous in either a row or a column by itself.
You don't say for what period your calendar is. Week, month, year. You could
just make a grid template like an empty wall calendar and change the numbers
in the grid according to the users' starting day and place the capacity
numbers in the grid under the corresponding day. The capacity per day can be
calculated in a table separate from the calendar as can the starting day.
That way the formulas in the calendar grid will refer to data placed
elsewhere in the workbook, and need never be overwritten. Now Sundays will
always be in the first column of your calendar grid and therefore has a
capacity of "0". This could all be done with formulas, no code.

Mike F
"beb" wrote in message
...

Hi people,

I have a dynamic calendar where user enters the starting day and excel
fills the remaining rows. Also, I have a capacity row, showing
production capacity daily. What I want to and cannot do is, for sundays,
corresponding capacity will be equal to 0. I could easily write an IF
expression but the user will enter the capacities AFTER the new calendar
is generated, so he/she will delete my formulas.

Does anyone know how I can make sure that this procedure becomes
permanent and unchangeable by the user? Thanx already...


*** Sent via Developersdex http://www.developersdex.com ***



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
Calculate next workday after adding calendar days to date in cell Darrell[_2_] Excel Worksheet Functions 13 May 7th 10 12:04 AM
Add no. of days to a workday to get new workday? blswes Excel Worksheet Functions 1 April 15th 10 07:39 PM
Excel dynamic calendar lgfix01 Excel Worksheet Functions 0 December 8th 09 05:43 PM
workday calendar tony Excel Worksheet Functions 1 September 12th 08 06:28 AM
find free sharware to include calendar pop or use calendar in cell ednc Excel Discussion (Misc queries) 2 April 14th 08 05:05 PM


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