stevensonnz
New Member
- Joined
- Sep 12, 2011
- Messages
- 2
Im trying to write this code for this project i am working on and need help with the code.
What im tasked to do is as follows:
Write an application that displays a solid square composed of a character input by the user.
The user should also input the size.
A) Write a sub procedure DisplaySquare to display the solid square. The size should be specified by the integer parameter intSize. The character that fills the square should be specified by the string parameter strFillCharacte. You should use a For...Next statement nested within another For...Next statement to create the square. The outer For...Next specifies what row is currently being displayed. THe inner For...Next appends all the characters that form a row to a display string.
B) Double click the Display Square Button to create the event handler. Program the event handler to call procedure DisplaySquare.
Using VBA really need help with the code, havnt got anything so far duont even know where to start.
Help would be greatly appreciated
How do i add pictures to my post? ill upload a picture of what the form should look like
What im tasked to do is as follows:
Write an application that displays a solid square composed of a character input by the user.
The user should also input the size.
A) Write a sub procedure DisplaySquare to display the solid square. The size should be specified by the integer parameter intSize. The character that fills the square should be specified by the string parameter strFillCharacte. You should use a For...Next statement nested within another For...Next statement to create the square. The outer For...Next specifies what row is currently being displayed. THe inner For...Next appends all the characters that form a row to a display string.
B) Double click the Display Square Button to create the event handler. Program the event handler to call procedure DisplaySquare.
Using VBA really need help with the code, havnt got anything so far duont even know where to start.
Help would be greatly appreciated
How do i add pictures to my post? ill upload a picture of what the form should look like