okay Im only 15 and just started learning Vbs off of a tutorial online and have physical science in school. I am trying to make a program that finds the force of something. can u help me this is the code.
Sub Force()
Dim Mass, Accel, Force
Mass = InputBox("Please give the mass of the object.")
Accel = InputBox("Please give the acceleration of the object.")
Force = Mass * Accel
MsgBox "The force of the object is " & Force & "."
End Sub
When i open up the program it doesn't do anything
Sub Force()
Dim Mass, Accel, Force
Mass = InputBox("Please give the mass of the object.")
Accel = InputBox("Please give the acceleration of the object.")
Force = Mass * Accel
MsgBox "The force of the object is " & Force & "."
End Sub
When i open up the program it doesn't do anything