Office Programming Helper Indent VB Code

Office Programming Helper Indent VB Code
  
            License: Freeware $0.00
            OS: WinXP,WinVista,WinVista x64,Win7 x32,Win7 x64,Win2000,WinOther,Windows2000,Windo
            Requirements: .net framework v4 or later, microsoft office or any single office application ex word or excel
            Publisher: NewPast
            Homepage: https://www.miniindustry.com
          

indent vba code, add line numbers, error handler, number to words and expose some .net functions and to microsoft word, excel, power point macros writers and access vba code
using this application to indent your vba code and add error handler:
* install the app
* open an office document that contains macro and edit the macro in vba window it or open microsoft access module.
* write your vba code.
* from add-ins menu, choose add error handler to this file.
using this application to expose some .net to your vba code:
1- declaring np and number to words objects
* open an office document that contains macro and edit the macro in vba window it or open microsoft access module
* in vbe window select tools, references, browse, then select the file officeprogramminghelper.tlb from the folder officeprogramminghelper\bin in the application installing folder.
* in vbe window select tools, references, browse, then select the file numbertotext.tbl
* insert the following code in a any vba module: public np as new officeprogramminghelper.np
* now you could use the np object in any code in your project.
2- using np object
you could call the np object in your code to use the functions
* np.clipboard: it is used to access computer clipboard. example: put or get text from the clipboard with specific format, clear the clipboard or converting the text in it form or to unicode.
you could put or get text with the following formats: text, unicode text, rtf, html.
* np.directory: create, delete, exists, move
* np.file: copy, create, delete, exists, move, shell
* np.screen: cm, height, width, twipsperpixelx, twipsperpixely
* np.text: encodingconvert, encodingconvertbycodepage, gettextheight, md5hash, trimany
* np.sql
* np.colors related function to get brightness, y and l value of rbg color or image
* np.mw function to calculate the molecular weight of any chemical compound
3- number to exmple:
dim c as new numbertoarabicwords
debug.print(c.converttowords(101)


Share this post