Scusa, ma hai provato quello che ti ho proposto? Il codice che hai visto, era per VB.NET o per VB6/VBA ?