Excel Qty->Part Number->Serial Number VBA

ProdigyOne

Board Regular
Joined
Jun 29, 2002
Messages
63
Hello,
I'm working on a spreadsheet to keep track of certain orders for some customers who want the info.

Right now i have a "Quantity" column which can range from 1 to 200, a "Part Number" column, and then a "Serial Number" column.

My problem:
"Quantity" will always be one cell
"Part Number" will always be one cell
"Serial Number" will need to be able to input as many serial numbers as there are quantities

I haven't figured out a way to enter in the serial number info in an organized way.

Is there some sort of pop-up VBA form i could use that when "serial number" cell is clicked it automatically asks for the proper number of serial numers and stores them somewhere as well?

Any ideas are appreciated. I've thought of some ways to do it, but nothing that makes me think "yes, that is the proper way to get this info and store it".

Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Maybe, I am not understanding, but

Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range("C:C")) Is Nothing Then Exit Sub

 Set fs = CreateObject("Scripting.FileSystemObject")
    Set D = fs.GetDrive(fs.GetDriveName(fs.GetAbsolutePathName(ThisWorkbook.Path)))
Target.Value = D.SERIALNUMBER

End Sub

GALILEOGALI
 
Upvote 0

Forum statistics

Threads
1,214,411
Messages
6,119,346
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top