Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a VB Expert!

Join 244,301 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 776 people online right now. Registration is fast and FREE... Join Now!




Programming Assignment Math Table

 
Reply to this topicStart new topic

Programming Assignment Math Table, I do not know how to show the numbers in the table or how to square or

tank101
12 Nov, 2008 - 07:56 PM
Post #1

New D.I.C Head
*

Joined: 12 Nov, 2008
Posts: 1

CODE
'Declare variables
Dim row As Integer, beginningNumber As Integer, endingNumber As Integer, _
Count As Integer, Square As Integer

'Input the information for the table
beginningNumber = InputBox("Enter the beginning number for the table.")
endingNumber = InputBox("Enter the ending number for the table.")

For row = 3 To 3
    Cells(row, 1).Value = "Math Table"
Next
For row = 5 To 5
    Cells(row, 1).Value = "Number"
Next
For row = 5 To 5
    Cells(row, 3).Value = "Square"
Next
For row = 5 To 5
    Cells(row, 5).Value = "Cube"
Next



Attached File(s)
Attached File  Program_5.pdf ( 10.88k ) Number of downloads: 14

User is offlineProfile CardPM
+Quote Post


Jayman
RE: Programming Assignment Math Table
12 Nov, 2008 - 08:47 PM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 8,063



Thanked: 159 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Describe in detail the problem you are having with your code. Include any error messages or unexpected output that you are receiving.

Please use code.gif tags when posting your code.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 05:40PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month