Talking about how to check the PB using OLE operations Word, Excel's function? (Original)

xiaoxiao2021-03-06  55

Today, you will get a head, slowly improve, :)

PB uses OLE Operation Word, Excel's function to view Word, Excel's help file, with the programming information about Word, Excel is very detailed, if your Word, Excel help does not have related content, reload office, select the relevant installation content However, this problem is also an old problem. Many friends ask this question. The following is in Word Ole_Object.SeLection.Typetext (), I caught a few pictures, describe how to find related objects, related methods, specific usage Procedure, see: http://blog.9cbs.net/images/blog_9cbs_net/balloonman2002/17312/o_vba-1.jpGHttp: //blog.9cbs.net/malloonman2002/17312/o_vba-2.jpGHTTP : //blog.9cbs.net/images/blog_9cbs_net/balloonman2002/17312/o_vba-3.jpGHttp: //blog.9cbs.net/malls/blog_9cbs_net/balloonman2002/17312/o_vba-4.jpg

If you don't know which objects correspond to the corresponding function, those functions can be implemented through the "recording macro" feature of Word, Excel, and the specific methods are shown in:

......(slightly)......

As for the operation method of Excel, it will not be described again.

Attachment: Common VBA grammar:

......(slightly)......

转载请注明原文地址:https://www.9cbs.com/read-113499.html

New Post(0)