amma.NETtami

.NET walkabout
posts - 11, comments - 18, trackbacks - 0

VBA

Visual Basic for Application
Editare file di Excel 2007 da VBA o VB6

Interessante articolo su come editare il formato OPENXML di Excel 2007 utilizzando il buon vecchio VBA o, per estensione, il sempre valido Visual basic 6. http://www.jkp-ads.com/articles/Excel2007FileFormat02.asp

posted @ venerdì 8 maggio 2009 10:44 | Feedback (1) | Filed Under [ Visual Basic VBA VBA ]

How to zip a file using Visual Basic 6 and the Windows Shell

When it was a matter of zipping a file, I always choosed the easy way: find a thirdy part activex or dll which could do the job for me. This time, I wanted to find my way to zip a file using Visual Basic 6 (or Visual Basic for Application - aka VBA) and the windows shell. The consderation came from the fact that, since Windows XP,  the support of zipping-unizzping files is a native feature of the OS. After a long search and multiple fixes, I finally came up with a stable solution which I'm going to quickly explain and post...

posted @ venerdì 27 marzo 2009 12:40 | Feedback (0) | Filed Under [ Visual Basic VBA ]

Excel: convenzione di chiamata dll non valida

Una mattina persa a cercare di capire quale potessere essere il mistero legato alla convenzione di chiamata dll non valida. La soluzione, come spesso accade, sta nel cercare di arrivare all'unica verità possibile, ovvero che il cucchiaio non esiste... Esportare tutti i moduli bas dal progetto vba, eliminarli e reinserirli. Eseguire la compilazione del progetto dall'interno dell'ambiente di sviluppo et voilà... Les jeux sont fait!

posted @ lunedì 10 novembre 2008 23:09 | Feedback (0) | Filed Under [ VBA ]

Powered by:
Powered By Subtext Powered By ASP.NET