View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
SpeeD SpeeD is offline
external usenet poster
 
Posts: 65
Default DeleteModuleContent doesn´t work in some computers...

hi to all!

i have the following code in my WB that deletes the VB content from one of
my sheets.
The problem is that in some computers (Running Vista) the code dosen´t work!
but in my Pc and others works just fine!

nome = Worksheets("Sixt - Tabela 1").CodeName
DeleteModuleContent ActiveWorkbook, nome

What´s happening? what am i doing wrong?? do i have to call an external
reference?

Thanks a Lot!!!

SpeeD