Use Excel VBA programming to draw a chair on a form

Source: Internet
Author: User

use Excel VBA programming to draw a chair on a form

Steps

Open Excel and go to the Visual Basic Editor.

Insert the module.

Module programming. Programming in Module 1, declaring 4 functions, and writing a program that displays a form--"painting."

Insert the form.

Adjusts the size of the form. The Height property is tuned to the 399.75,width property to 219.75.

Form programming. Double-click the form to enter the programming interface, write the form click event-triggered program, call Module 1, 1 of the structure declared, 4 function writing program. Write coordinates for each point in the diagram.

Turn off VBE and start the macro.

Executes the macro.

EXECUTE macro--"draw", the form appears.

Click on the form and the chair appears, which is the result of the form click event Program.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.