Male colleagues from the engineering department of the company, the top three with the strongest Excel capabilities, are known as: big cousin, two cousin, three cousin
Female colleagues in the company's finance department, the top three with the strongest Excel capabilities, are called: big cousin, two cousin, three cousin
Want to be your company's "cousin" and "cousin "?
But not VBA.
So,
I'm coming!
"Excel 2013
Yesterday, one of my classmates lost their mobile phones, and all their phone numbers were lost. Therefore, I felt it necessary to back up the mobile phone numbers. So today I made an address book in Excel ----- VBA for one day. I will publish these codes tonight. Code writing is ugly. Due to time constraints. The Code has no comments. Please forgive me! The software has image descriptions!
===============
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 VBA programming skills
Start today with "Blue Fantasy" video learning VBAThe macro is actually the operation stepRecorded macros are automatically generated by VBAIn VB, you can write your ownYou can specify a macro by using the form button1. VBA Objects' 1, workbooks' Workbooks represents the workbook collection, all workbooks, Workbooks (n), which represents the nth workbook that has been opened' Workbooks ("Workbook name")' ActiveWorkbook the workbook that is being manip
The code below can be used to delete the module which houses the Code. In other words, it deletes itself after running once.
You will have to goTools>Macro>Security-Trusted publishersAnd check trust accessVisual Basic EditorBefore running the code. Change"Module1"To suit.
Sub deletethismodule ()
Dim vbcom as object
Msgbox "hi, I will delete myself"
Set vbcom = application. VBE. activevbproject. vbcomponents
Vbcom. Remove vbcomponent: = _
Vbcom. Item ("module1 ")
Original source: http://www.cnblogs.com/Charltsing/p/EncryptVBACode.htmlVBA code encryption is a commonplace issue, and since my VBA dumper was released, any encryption at the office level has lost its meaning. So, many people began to move to the VB package or upgrade to Vsto,delphi and other languages. However, for the vast majority of Vbaer, the problem of re-learning a language is far more than the benefits of developing
Advanced Knowledge points1. SQL query Statements and ADO2. Regular expressions and net catch3. Forms and Controls4. API class module and so onSorosayLinks: https://www.zhihu.com/question/26078625/answer/132542043Source: KnowCopyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.1 hoursFamiliarity with data types, variables, constants, and operators1. Understand what data types
In the morning, the press called to inform you that the book has been officially published. After reading the second bookstore, you can order it now, but the status is out of stock. If you need it, you can order it. It is estimated that each bookstore can see it in a month.
Order: http://www.dearbook.com.cn/book/110873Http://www.dangdang.com/product/9201/9201169.shtml
Chapter 2 Introduction to excel
Record a VBA-based data conversion tool for planning and writing, and plan vba
Because the table structure planned for calculation is not necessarily the same as the data table structure actually used by the program, sometimes data conversion is often required. Convert the table to the format required by the program, and then import the table to the database. This is also the planning of a table with multip
: Network Disk DownloadContent Introduction······For most professionals who do not have a foundation for programming, they tend to have a lot of fear in learning VBA. This book is aimed at such a crowd, with easy-to-understand language and vivid image of the metaphor, and with a large number of illustrations, the seemingly complex concepts and code in Excel, from simple macro recording,
Iamlaosonghttp://blog.csdn.net/iamlaosong/article/details/18458253The function that takes the current date in VBA is date, the function of the current time is now, and the current date and time are now. the functions for converting dates to years and days are: year, Month, day, values that can be taken with date or now. The functions of time conversion to minutes and seconds are: Hour, Minute, Second, the value that the parameter can be taken out
Original source: http://www.cnblogs.com/Charltsing/p/unviewable.htmlqq:564955427Email: [Email protected]I was asked to unviewable+ VBA to protect the VBA code can be cracked, so I went to the author's website to see a bit (URL).This tool protects the VBA code fairly well, but there are still fatal problems that can be easily exported.Part of the code in the expor
Option Explicit ' VBA Script that gets info on the currently selected email using propertyaccessor and various syntaxes ' (s EE other scripts at http://www. Gregthatcher.com-Ways to get mail properties) ' property Tag Syntax looks like this http://schemas.microsoft.com /mapi/proptag/0x0005000b ' property Tag Syntax are used for Outlook ' Properties ' (defined by Outlook Object Model) ' Propert Y ID Syntax looks like this http://schemas.microsoft.com/m
Memo by:1, VBA to take the number of columns:For example, how many columns are used for the second row: Cells (2, Columns.count). End (xlToLeft). Column: Explanation: Mainly the end method, which is illustrated in VBA: Returns a Range object that represents the cell that contains the end of the area of the source range. is equivalent to pressing the end+ up ARROW, end+ down ARROW, end+ left arrow, or end+ r
Sometimes Excel VBA is used to deal with some things. After all, I am a lazy person, and I always like to try to hand over repetitive work to the computer for processing, so that I can prove that my brain is still running, summarize some methods for reading and parsing local file directories in VBA.
1' this function is used to obtain the names of all folders in the specified directory. 2 sub readfile () 3
VBA: Introduction and examples of dictionaries, and examples of vba dictionariesBasic statement
Sub dictest () 'Other detailed explanations for reference: http://club.excelhome.net/thread-868892-1-1.html' dictionary introduction' dictionary object is equivalent to a Union array, which is composed of a unique Key) combined with its Items, 'vba dictionary has six m
Iamlasong
VBA programming achieves random output without repeating. The random function in VBA is RND, and the random function in worksheet is Rand. The difference between the word and can be remembered. The RND value range is [0, 1). It indicates a random number between 0 and 1, which contains 0, but does not contain 1.
1. Usage
Syntax: RND [(number)]If the value of number is generated by randomizeIf the v
[Getting started with VBA] commonly used and interpreted VBA
[A65536]. End (xlup). Row 'a column last row to the first row with a value
[A1]. End (xldown). Row 'a column first row down first row with a value
[Iv1]. End (xltoleft). column' the last column of the first row has a number column to the first column on the left.
[A1]. End (xltoright). Column 'specifies the number of columns in the first column of
That is, add a worksheet to the workbook, and then move out of the workbook to a new workbook, and copy the code of one module of the workbook to the new workbook before moving out. Here is the key code: '====================================================================== 'Each class list is saved as a single XLS fileActivesheet.moveChDirMyPath'Ignore dialog box, overwrite saveApplication.DisplayAlerts =False 'class name increase "examinee number Processing"
New Perspective of PPT -- basic information of VBA Application Technology Author: Zhu Jianguo Press: Electronic Industry Press ISBN: 9787121201196 Release Date: 388-1 published on: May 2013: 16: 1-1 category: computer> office software> Office> PowerPoint more about "" New PPT perspective-VBA Application Technology "Content Overview computer books new PPT perspective-VBA
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.