-
Apr 30th, 2009, 01:22 PM
#1
Thread Starter
New Member
[RESOLVED] Help with code to select multiple random entries from spreadsheet...
Hi,
I have a spreadsheet with details of the weights of 120 items. I have to try and find a way of allocating the items to delivery trucks which can carry a certain maximum weight, and minimise the number of delivery trucks needed.
Can anyway suggest a good starting point or method I could use? I'm fairly new to vb and don't know where to start. Any help would be appreciated.
Sarah x
-
Apr 30th, 2009, 03:41 PM
#2
Hyperactive Member
Re: Help with code to select multiple random entries from spreadsheet...
Do the delivery trucks all have the same maximum weight that they can carry or do they vary from truck to truck?
-
Apr 30th, 2009, 03:45 PM
#3
Thread Starter
New Member
Re: Help with code to select multiple random entries from spreadsheet...
They all have the same maximum weight of 1500kgs.
xx
-
May 3rd, 2009, 04:56 AM
#4
Re: Help with code to select multiple random entries from spreadsheet...
do all the delivery trucks go to the same destination?
is the order 120 items, or mulitples the items?
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|