VBA (Visual Basic for Application ):
O 'Reilly VB VBA concise tutorial
OfficeVBAProgrammingCollection of manuals (CHM)
Microsoft Office VBA Language Reference
Microsoft Office 2007 system VBA programming
Office
Activeworksheet object).In some cases, it ThisWorkbook ActiveWorkbook is equivalent, but in some cases it is not. such as the following code:Sub workbook_operate() ‘ 定义工作薄对象 Dim wbk As Workbook Dim fname As String fname = "E:/temp/ActiveMe.xlsx" ‘ 根据工作薄文件路径获取工作薄对象 Set wbk = Workbooks.Open(fname) Debug.Print ThisWorkbook.Name Debug.Print ActiveWorkbook.NameEnd SubOperation Result:Because the newly opened workbook will be activated (just like opening another
Fully understand the PageSetup object of page SetupWhen we write VBA code, especially when we do small program development, we often use VBA to setThe options in the page setup, you can also use VBA to achieve some special effects, which requires theUse the Pagesteup object. The PageSetup object contains properties for all page settings (left margin, bottom edgeP
Translator Note:This article is greatly accompanied by translation from the www.vba-ie.net of the course, only to do Japanese learning, such as reproduced in this article please inform. all of the text is not replaced with Chinese interface, because the author of the computer is also a Japanese system, hope to understand. As a primer, this tutorial covers the basics of controlling IE from using VBA, getting
objOutlook = Nothing46.47. End Sub
Paste a button in Excel and click the event to point to this process. Microsoft Outlook 11.0 Object Library must also be referenced in the Visual Basic Editor of Excel. The specific component name may vary depending on the installed Outlook version. You can only use Outlook instead of Outlook Express.
You must Configure Outlook correctly to use the default account to send
How to print field codes and not field values in a Word 2007 document
Insert a chart in a Word 2007 document
Insert paste in Word 2007 document
Display a body border in a Word 2007 document
Show picture boxes in Word 2007 documents
Allow background saving in Word
Purpose : Sometimes we need to organize a large amount of data in an Excel file, which can be tedious and error-prone if you use manual grooming. In the case of VBA, it is possible to automate a large amount of data collation by writing a simple code in Excel based on requirements.1, in Excel
In Excel, in order to enhance the contrast of the active cell, sometimes we need to modify its background color, font, font size, and so on, to differentiate and other cell contrast!
In this tutorial, let's learn how to make Excel active cells have the background color in rows and columns, first look at the figure below.
In the picture above, that i
use Excel VBA programming to draw a hexagon on a form. This tutorial is to share with friends the use of Excel VBA programming on the form to draw a hexagonal method, the tutorial is very good, suitable for beginners to learn, rec
Once saw a "excel-home" produced "About Excel suicide function" video tutorial, after careful study, I wrote down their code, share in this.
Implementation ideas:Use VBA to create a hidden name, record the number of times the current workbook has been opened, and automatically delete the workbook if the number of
Excel VBA programming to draw a house on a form . This tutorial is to introduce you to use Excel VBA programming on the form to draw a house method, the tutorial comparison basis, produced the effect is very good, recommend to see
You can insert an image by setting an annotation style in an excel 2007 annotation. office2003 does not have this function.Sometimes, in order to create a table with a large amount of information and simplicity, we need to add a hidden image to the cells in the Excel table. When the mouse points to the cell, the image will be automatically displayed, and the pict
the user will be unaware of the use of some features." So we use the Ribbon theme. We had a strictly prohibited usability test and we got very positive feedback. ”Now, Fluent/ribbon is not only used in office, but Microsoft also makes it part of the graphical interface of Windows 7. "Ribbon is really starting from office 2007, but we want it to be extended to all software," Gates said. It has been proved that the interface can fit the touch screen we
For elementary School mathematics children, learn the "99 multiplication table" mantra, is equal to open into the multiplication of the Temple gate. As a parent of you and Excel is more proficient, you can do it yourself to do for them, here we take Excel 2007 as an example to illustrate.
After running Excel
Usually in the operation of Excel 2007 we may not always encounter the Print button. Or some people don't pay much attention to saving. Print Excel 2007 files at random. Even print directly from Excel 2007 files that are generally
The 99 multiplication table is the content that the elementary school students must study when they study mathematics. Copying a 99 multiplication table for primary school students is also one of the homework of many parents. In fact, using Excel as a multiplication table is also a good choice. IT168 has published an article using VBA programming to realize "99 multiplication table", it has guided us a very
In Microsoft Office Excel 2007, you can add a comment to a cell by inserting an annotation. You can edit the text in the annotation, or you can delete the annotations that you no longer need.
Comments
Add annotations
1, click the cell that you want to add the annotation to.
2, on the Review tab, in the Comments group, click New Annotation.
New annotation
3, in the Annotation
the functionality that the user asks us to implement, we already have. ”
After Office 2007 employs the Fluent/ribbon graphical user interface, Microsoft employs a similar concept in office 2008 for Mac. Microsoft also authorized Third-party developers to enhance the functionality of ribbon.
"So we think that if you don't change the UI, then the user will be unaware of the use of some features." So we use the Ribbon theme. We had a strictly prohibit
After data entry in Excel, we typically use advanced filtering to handle deleting duplicate records, and Excel 2007 retains this feature while adding a "Remove duplicates" button to make the operation simpler and more flexible.
First, traditional methods: using advanced filtering
The steps are as follows:
1. Click the data area to select any one of the cells.
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.