PC Review


Reply
Thread Tools Rate Thread

Add/Update data stored in another worksheet

 
 
Mike G - DC
Guest
Posts: n/a
 
      7th Jul 2009

Folks –
This seems really complicated to me, hopefully it’s harder to describe than
to code.

I have two worksheets within the same workbook, “TSCREEN” & “TDATA”. TSCREEN
is used to collect information about parts that is in turn stored on TDATA.
TSCREEN has just a few rows (11:24) reserved for data entry. Column A
includes a validation list of parts. Columns B:E are free entry cells to
capture quantities related to the part selected in Column A. Users will
select a part in column A and then manually enter quantities in columns B:E.
After completing the entries, the user will select a button that fires a
macro to “save” the parts data within the TDATA worksheet. I’m hoping you can
help me find the code to support the “Save” action. In my mind, the action
goes something like,

1.) Identify whether or not the part selected in Column A, Rows 1:14, within
TSCREEN are listed within TDATA Column A.

2.) If the part is not listed within TDATA, then add the part and
corresponding quantities entered within TSCREEN Columns A:E into TDATA
columns I:M.

3.) If the part is listed within TDATA, then update the corresponding
quantities (TDATA J:M) with the values entered into TSCREEN, columns B:E.

Oh, and to really complicate matters, if a users selects a part in column A
of TSCREEN that has already been "saved" to TDATA, I'd like to render the
corresponding saved quantities from TDATA columns J:M within TSCREEN columns
B:E.

Wow, written out, I realize that I’m asking for a lot. I really do
appreciate the help. Anything to help point me in the right direction.
Thanks, mike

 
Reply With Quote
 
 
 
 
Otto Moehrbach
Guest
Posts: n/a
 
      9th Jul 2009

Mike
Send me your file or a small sample of it and I'll try to help you with
it. Provide as much explanation as you can. Some examples of before and
after would help. My email is moehrbachoextra@bellsouth .net. Remove the
"extra" from this address. HTH Otto
"Mike G - DC" <(E-Mail Removed)> wrote in message
news:3C548739-88F7-488B-9E80-(E-Mail Removed)...
> Folks -
> This seems really complicated to me, hopefully it's harder to describe
> than
> to code.
>
> I have two worksheets within the same workbook, "TSCREEN" & "TDATA".
> TSCREEN
> is used to collect information about parts that is in turn stored on
> TDATA.
> TSCREEN has just a few rows (11:24) reserved for data entry. Column A
> includes a validation list of parts. Columns B:E are free entry cells to
> capture quantities related to the part selected in Column A. Users will
> select a part in column A and then manually enter quantities in columns
> B:E.
> After completing the entries, the user will select a button that fires a
> macro to "save" the parts data within the TDATA worksheet. I'm hoping you
> can
> help me find the code to support the "Save" action. In my mind, the action
> goes something like,
>
> 1.) Identify whether or not the part selected in Column A, Rows 1:14,
> within
> TSCREEN are listed within TDATA Column A.
>
> 2.) If the part is not listed within TDATA, then add the part and
> corresponding quantities entered within TSCREEN Columns A:E into TDATA
> columns I:M.
>
> 3.) If the part is listed within TDATA, then update the corresponding
> quantities (TDATA J:M) with the values entered into TSCREEN, columns B:E.
>
> Oh, and to really complicate matters, if a users selects a part in column
> A
> of TSCREEN that has already been "saved" to TDATA, I'd like to render the
> corresponding saved quantities from TDATA columns J:M within TSCREEN
> columns
> B:E.
>
> Wow, written out, I realize that I'm asking for a lot. I really do
> appreciate the help. Anything to help point me in the right direction.
> Thanks, mike
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How to update data using Stored Procedure? Alexey Smirnov Microsoft ASP .NET 0 11th Dec 2008 06:58 PM
where is the original data location in a worksheet stored? z.entropic Microsoft Excel Worksheet Functions 2 22nd Dec 2007 11:28 PM
Accessing data stored in the worksheet (named range) in .xla file =?Utf-8?B?bm9pc2ViZXJn?= Microsoft Excel Programming 1 26th Sep 2007 07:03 PM
Using data stored in VB variables in an update query =?Utf-8?B?TmljaG9sYXMgU2NhcnBpbmF0bw==?= Microsoft Access VBA Modules 2 31st Dec 2005 09:15 PM
Insert, update, delete data stored in SQL Server through adp Xiaolu Microsoft Access ADP SQL Server 1 30th Oct 2003 01:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:40 AM.