Visual Basic code for returning associated values of selected items


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Visual Basic code for returning associated values of selected items

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    1

    Visual Basic code for returning associated values of selected items

    Dear Sir or Madam:

    I am providing below the explanation of the problem I am trying to solve along with the data. Any help with the coding would greatly appreciated as I am new to to programming. I am using VB Net. Thanks!

    Color Value
    Green 2
    Red 1
    Purple 4
    Blue 6
    Yellow 3
    Orange 5


    Red,Purple,Green,Yellow 1+4+2+3

    In columns "A" and 'B" I have the raw data as color and its values. In column "C" and any arbitrary row I want the user selected colors seperated by commas (except there should be no comma for the last item selected), and in column "D" in the adjoining cell the sum total of the values of the selected colors. How do we do this through Visual Basic code? Thanks!

    Replies can also be emailed to me at Removed By Mod.
    Last edited by Hack; 11-08-2007 at 12:12 PM. Reason: Removed Email address

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Moved to .NET

    I have edited your post and removed your email address.

    You should never post your email address in an open post on an open forum. Mail spam bots can pick that up and before you know it, your mailbox is full of junk mail. If you wish to share your email address with other forum members, please do so via our PM system.

    In addition, we prefer all answers to questions be publically posted rather than sent via EMail or PM. That way, everyone with a similar problem can benefit.

    Thanks.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    What code do you have for this so far?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Krishnan: What kind of control are you using to display the rows and columns of data?
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 0
    Last Post: 08-02-2007, 02:08 AM
  2. Microsoft's C++ bigotry
    By Phil Weber in forum .NET
    Replies: 632
    Last Post: 10-01-2003, 12:00 AM
  3. YAG's status report - Feb 28, 2002
    By Seth Grossman [MSFT] in forum vb.announcements
    Replies: 0
    Last Post: 02-28-2002, 08:08 PM
  4. Replies: 0
    Last Post: 05-11-2001, 10:52 AM
  5. Visual Basic Source Code Generator
    By sunil bhagane in forum vb.announcements
    Replies: 0
    Last Post: 03-04-2001, 04:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center