Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Three questions about fields in worksheets

Hello! I have a workbook that tracks patients (mothers) and contacts (mom's
family members). The mother worksheet is named MAT_INF and the contacts one
is named CONTACTS.

1. In MAT_INF, I have a field named CASE_NUMBER. How can I tell this field
to automatically start out with a value like "2009-"? An example case number
would look like 2009-001 or 2010-099.

2. Once CASE_NUMBER, LAST_NAME_MOM and FIRST_NAME_MOM have been populated by
the user in MAT_INF, how can I automate adding those values to the CONTACT
sheet, where the corresponding fields are named CASE_NUMBER, CASE_LAST_NAME
and CASE_FIRST_NAME?

3. Once CASE_NUMBER in the CONTACT sheet has been brought over from the
MAT_INF sheet, how can I add a sequential number to it? For example, for
CASE_NUMBER 2009-001 from the MAT_INF sheet, with LAST_NAME_MOM equal to Doe
and FIRST_NAME_MOM equal to Jane, how would I get the CONTACT information to
look like CASE_NUMBER 2009-001-01, CASE_LAST_NAME equal to Doe and
CASE_FIRST_NAME equal to Jane?

Each CASE_NUMBER from the MAT_INF sheet (Jane Doe, 2009-001) may have 1 or
more contacts (other family members) in the CONTACTS sheet. So we might have
an entry in the CONTACT sheet like 2009-001-01, CASE_LAST_NAME = Doe,
CASE_FIRST_NAME = Jane, CONTACT_LAST_NAME = Doe, CONTACT_FIRST_NAME = Zippy.

Any help would be greatly appreciated!!! Thanks!
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
2 worksheets--3 questions Anne Excel Worksheet Functions 3 April 14th 10 09:57 PM
Lookup questions cross worksheets John S Excel Discussion (Misc queries) 0 March 18th 10 05:05 PM
A couple of questions (formating & Collating worksheets) deelee[_17_] Excel Programming 7 June 29th 06 03:48 PM
HOw do I add fields between worksheets? Excel Monkey Boy Excel Worksheet Functions 4 December 8th 04 08:25 PM
VBA help - worksheets and range questions Bob[_54_] Excel Programming 4 May 4th 04 02:29 AM


All times are GMT +1. The time now is 01:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"