Jump to content

Visual Basic no Excel 2007 não funciona no Excel 2010


JOSESOUSA

Recommended Posts

Bom dia...

Estou com problemas em abrir um ficheiro em excel que foi criado no 2007 e para abrir no 2010 dá erro no codigo VBA.

Este é so um exemplo de um erro....

Sub atualizar()
Dim rngCelula As Range
ActiveWorkbook.Sheets("bd").Activate
Range("F5000").Select

 For Each rngCelula In Selection
   rngCelula.FormulaLocal = rngCelula.Value
 Next rngCelula
 [A1].Select

End Sub

Obrigado

Edited by anolsi
Adicionado o geshi
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.