Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Insert data into a seperate worksheet

Hello,

I'm very new to VB and was looking for some direction on the
following:

I have a workbook with two sheets, Menu and Manifest. In the menu
sheet I want users to enter a Customer ID(txtCUSTID) and Invoice
#(txtInvnum) into two different text boxes respectively. After this
information has been entered, users will click a button(Update
Manifest)which updates the Manifest sheet. The manifest sheet will
contain two columns, CUSTID and INVNUMBER. When the Update Manifest
button is clicked on the menu sheet, the program should look for
matching CUSTID's in the CUSTID column and add the Invoice Number from
txtInvNum to the Invoice column.

So, essentially I'm looking for help with the code for my command
button to do the above, which is append a column when a customer match
is found.

I have no idea where to start with the code. Any help would be greatly
appreciated.

Thanks in advance for your help.

Pat
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Insert data into a seperate worksheet

Pat,

I don't quite understand what you want here, but I'm sure it's not very complicated.

On one hand you say to "add the Invoice Number from txtInvNum to the Invoice column". On the other hand you say to "append a column".

Do you mean to enter the invoice numbers in horizontally in separate columns for each customer, or what?

Post back with a small example of how you want the layout of the manifest sheet. An explanation of how it will be used is also helpful.

Best regards,
Anders Silvén

"Pat" skrev i meddelandet om...
Hello,

I'm very new to VB and was looking for some direction on the
following:

I have a workbook with two sheets, Menu and Manifest. In the menu
sheet I want users to enter a Customer ID(txtCUSTID) and Invoice
#(txtInvnum) into two different text boxes respectively. After this
information has been entered, users will click a button(Update
Manifest)which updates the Manifest sheet. The manifest sheet will
contain two columns, CUSTID and INVNUMBER. When the Update Manifest
button is clicked on the menu sheet, the program should look for
matching CUSTID's in the CUSTID column and add the Invoice Number from
txtInvNum to the Invoice column.

So, essentially I'm looking for help with the code for my command
button to do the above, which is append a column when a customer match
is found.

I have no idea where to start with the code. Any help would be greatly
appreciated.

Thanks in advance for your help.

Pat

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Insert data into a seperate worksheet

All I want is for this information to be stored in two columns in a
seperate work sheet. The information would be entered into a second
worksheet. On the second worksheet there would be a fixed column with
customer ID's. This column does not change when the information is
inputed in the first sheet. However, the Invoice column does change in
two ways: 1. When a user adds an invoice#, that invoice number is
added to the invoice# column; to its corresponding customer ID. 2. the
other way the column changes is if the user decides to clear the
manifest, which only clears the invoice # column. This is what it
should look like:


CUSTID INV#
Cust1 1234
Cust2 9876
Cust3 9874
5678
Cust4 1245
Cust5 Empty

There can be more than one invoice # for a customer in the invoice
column. In this case, multiple invoice numbers should appear in one
cell. Also, a customer does not have to have an invoice #.

The manifest is used by a shipping courier to verify parcels using the
invoice number. If a customer does not have an invoice# beside their
ID, then they have no shippment for the day.

Also, what I meant by append is that invoice numbers are not
overwritten by other invoice numbers, they are only cleared at the end
of the day.


Thanks again. I hope this helps.





"Anders S" <anders wrote in message ...
Pat,

I don't quite understand what you want here, but I'm sure it's not very
complicated.

On one hand you say to "add the Invoice Number from txtInvNum to the
Invoice column". On the other hand you say to "append a column".

Do you mean to enter the invoice numbers in horizontally in separate
columns for each customer, or what?

Post back with a small example of how you want the layout of the
manifest sheet. An explanation of how it will be used is also helpful.

Best regards,
Anders Silv n

"Pat" skrev i meddelandet
om...
Hello,

I'm very new to VB and was looking for some direction on the
following:

I have a workbook with two sheets, Menu and Manifest. In the menu
sheet I want users to enter a Customer ID(txtCUSTID) and Invoice
#(txtInvnum) into two different text boxes respectively. After this
information has been entered, users will click a button(Update
Manifest)which updates the Manifest sheet. The manifest sheet will
contain two columns, CUSTID and INVNUMBER. When the Update Manifest
button is clicked on the menu sheet, the program should look for
matching CUSTID's in the CUSTID column and add the Invoice Number from
txtInvNum to the Invoice column.

So, essentially I'm looking for help with the code for my command
button to do the above, which is append a column when a customer match
is found.

I have no idea where to start with the code. Any help would be greatly
appreciated.

Thanks in advance for your help.

Pat

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
Data validation against seperate worksheet Kcope8302 Excel Worksheet Functions 1 July 17th 09 02:19 PM
Reference web query data in seperate worksheet AmyLRuck Excel Worksheet Functions 1 October 4th 08 04:46 PM
Data in a seperate worksheet F.G. Excel Discussion (Misc queries) 2 January 14th 08 07:48 PM
Auto insert data to seperate sheets? greig2000_uk New Users to Excel 2 May 27th 06 01:10 PM
viewing seperate data within worksheet Gate Excel Worksheet Functions 1 March 8th 05 06:42 PM


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

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"