Welcome Guest ( Log In | Join )

Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Want to ask a question, reply to a topic, or remove all advertising? It's easy, fast and free. Join today!
Spyware, virus, trojan, fake security or privacy alerts? Please start with our malware cleaning guide.
     
 
Reply to this topicStart new topic
excel visual basic question
arf
post Apr 29 2008, 07:35 PM
Post #1


Member
**
Posts: 24
OS: Windows XP



Hi i have to write a program for a project.
Basically, its an optimization problem but for job assignments. there are 13 orders and 13 machines and solver needs to find which machine is optimal for which order. when solver outputs the solution, its in a table format where each column and row must only have one value of 1 and the rest are zeros (the 1 means that order should be used at that machine) . The trouble is that i need to use visual basic to enter the data in sheet2. sheet 2 has a table with all the orders listed and it needs to type in which machine that it should use. I can easily do this by searching the output table and seeing which order and which machine has a corresponding 1 under it and type it in sheet2, but i need visual basic to find the 1's from the output table and type the corresponding machine under each order. Anyone have any input?
Go to the top of the page
 
+Quote Post
Ax238
post Apr 29 2008, 10:14 PM
Post #2


TA Moderator
Group Icon
Posts: 1,281
From: SET HOMEPATH
OS: Windows 95/98/2000/XP/Vista



Hello arf,

Is this homework or work-related?

You can try using find:
Excel Find Method in Excel VBA. How to Use Find in Excel VBA Macros

I don't know much about the setup, is there a row for every order and a column for every machine?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No New Posts   0 / 526 6th July 2005 - 11:29 PM
gee started - last by gee
No New Posts 2 / 1,064 10th July 2005 - 06:21 PM
gee started - last by gee
No New Posts   1 / 397 12th June 2006 - 01:27 AM
Gamer2bn started - last by Hai Mac
No New Posts   1 / 377 7th March 2007 - 03:04 AM
Joeturf started - last by IO-error

RSS Time is now: 8th January 2009 - 03:14 AM
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk.