corsasport.co.uk
 

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


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Visual Basic Help
Andy_sxi
Member

Registered: 28th Aug 04
Location: West Midlands Drives: 1.2 16v SXi
User status: Offline
   5th May 06 at 12:34   View User's Profile U2U Member Reply With Quote

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
5th May 06 at 13:06   View User's Profile U2U Member Reply With Quote

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
5th May 06 at 16:44   View User's Profile U2U Member Reply With Quote

Anyone any good at vba?
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
5th May 06 at 17:04   View Garage View User's Profile U2U Member Reply With Quote

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
5th May 06 at 17:35   View User's Profile U2U Member Reply With Quote

RTFM?
Dom
Member

Registered: 13th Sep 03
User status: Offline
5th May 06 at 20:14   View User's Profile U2U Member Reply With Quote

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
5th May 06 at 23:51   View User's Profile U2U Member Reply With Quote

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

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
vb code jaffa Geek Day 12 1422
14th May 03 at 12:06
by jaffa
 
Nebody good at visual basic?? Happy_2008 Geek Day 4 943
16th Apr 04 at 22:43
by Happy_2008
 
Excel question (quick) Ojc General Chat 12 902
30th Sep 04 at 20:18
by Sam
 
Computers geeks look in here Sam Geek Day 8 1066
7th May 05 at 15:46
by Sam
 

Corsa Sport » Message Board » Off Day » Geek Day » Visual Basic Help 29 database queries in 0.0097499 seconds