amma.NETtami

.NET walkabout
posts - 12, comments - 26, trackbacks - 0

My Links

News

giossi.com - Two steps ahead

↑ Grab this Headline Animator

Tag Cloud

Archives

Post Categories

Code repository websites

Websites

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 9.44 | Feedback (2) | Filed Under [ Visual Basic VBA VBA ]

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 9.44 | Feedback (2) | Filed Under [ Visual Basic VBA VBA ]

Contrarre una selection (range) in Excel

Semplice funzione per Excel che consente di contrarre di n righe una selection (per intenderci, un range di celle) . Risulta utile anche per spostarsi in su od in giù di n righe se la selection corrente è una singola cella. Function CropSelection(Rows As Long) As Boolean Dim sSelection As String Dim iDollarPosition As Long Dim sRow As String Dim lRow As Long On Error GoTo CropSelection_Error sSelection = Selection.Address() iDollarPosition = InStrRev(sSelection, "$") sRow = Mid(sSelection, iDollarPosition + 1) lRow = CLng(sRow) - Rows ...

posted @ lunedì 20 ottobre 2008 22.42 | Feedback (2) | Filed Under [ VBA ]

Powered by: