corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Visual Basic Help » Post Reply

Post Reply
Who Can Post? All users can post new topics and all users can reply.
Icon:
Formatting Mode:
Normal
Advanced
Help

Insert Bold text Insert Italicized text Insert Underlined text Insert Centered text Insert a Hyperlink Insert Email Hyperlink Insert an Image Insert Code Formatted text Insert Quoted text
Message:
HTML is Off
Smilies are On
BB Code is On
[img] Code is On
Post Options: Disable smileys?
Turn BBCode off?
Receive email notification of new replies?

James

posted on 5th May 06 at 23:51

quote:
Originally posted by Dom
hows this two be written? is it for a VB program or website or what? Also VB .net differs from original VB,

eitherway, it just adding the two values from the cells into a single one - look up help and look at the grid object :thumbs:


VBA for Excel by the looks of it


Dom

posted on 5th May 06 at 20:14

hows this two be written? is it for a VB program or website or what? Also VB .net differs from original VB,

eitherway, it just adding the two values from the cells into a single one - look up help and look at the grid object :thumbs:


Sam

posted on 5th May 06 at 17:35

RTFM? :o


Steve

posted on 5th May 06 at 17:04

give the cells names, then in the label properties of the output box, just add sum simple maths like

button1.onclick
output.label = input1.text + input2.text

this is assuming its after a button click

[Edited on 05-05-2006 by Steve]


Andy_sxi

posted on 5th May 06 at 16:44

Anyone any good at vba?


Jodi_the_g

posted on 5th May 06 at 13:06

cells?

is this in a flexgrid or are they textboxes, labels


Andy_sxi

Icon depicting mood of post posted on 5th May 06 at 12:34

Hi Is anyone good at visual basic, all I need to do is add two cell values and for the total to appear in a selected cell.