Word 97-2003: in a storage called "Macros", at the root of the OLE file.VBA macros are normally contained in a VBA project structure, located in different places depending on the document type: The code is not stored in clear text: It is compressed using a specific run-length encoding algorithm described in MS-OVBA. The VBA source code is stored in one ore several streams located in the VBA storage (for example "ThisDocument" in the sample above). For example, a MS Word document with VBA macros has a storage called "Macros". For example, the main stream of a MS Word document containing its text is named "WordDocument".Īn OLE file can also contain storages which contains streams or other storages. Most of them use the same underlying file format called Microsoft Compound File Binary (CFB) file format, or simply OLE2 file format.Īn OLE file contains streams of data that look like files embedded within the OLE file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |