Andy_sxi
Member
Registered: 28th Aug 04
Location: West Midlands Drives: 1.2 16v SXi
User status: Offline
|
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.
|
Jodi_the_g
Member
Registered: 7th Aug 01
Location: Washington D.C
User status: Offline
|
cells?
is this in a flexgrid or are they textboxes, labels
|
Andy_sxi
Member
Registered: 28th Aug 04
Location: West Midlands Drives: 1.2 16v SXi
User status: Offline
|
Anyone any good at vba?
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
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]
|
Sam
Moderator Premium Member
Registered: 24th Dec 99
Location: West Midlands
User status: Offline
|
RTFM?
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
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
|
James
Member
Registered: 1st Jun 02
Location: Surrey
User status: Offline
|
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
VBA for Excel by the looks of it
|