Este fórum está sendo desativado

Depois de 9 anos, este fórum será desativado. Mas calma.... estamos migrando para uma comunidade no DISCORD. Junte-se a nós.

ENTRAR PARA DISCORD

Tópicos relacionados a códigos VBA, gravação de macros, etc.
  • Avatar do usuário
Avatar do usuário
Por Kevim2013
Posts Avatar
#12132
Neste código do meu userform da erro 9 como posso corrigir?

Código: Selecionar todos
Private Sub UserForm_Initialize()

Dim w As Worksheet
Dim UCD As String
Dim UCM As String
Dim UCDR As Range
Dim UCMR As Range

    ActiveWorkbook.Sheets("RegBackup").Activate ' da erro aqui, e sim, tenho um plano chamado "RegBackup" ele é o Plan12.
 
    Cells(1, 3).Select
    
    Do
    If ActiveCell.Value <> "" Then
        ActiveCell.Offset(1, 0).Select
    End If
    Loop Until ActiveCell.Value = ""
    ActiveCell.Offset(-1, 0).Select
    UCM = ActiveCell.Value
        
Cells(1, 1).Select
 

'[......] tem muito mais código mais da erro ali em cima.[...]
End Sub

    
Avatar do usuário
Por Kevim2013
Posts Avatar
#12133
Não fasso a minima idéia oque deu só sei que ja parou
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]

Estamos migrando para uma comunidade no Discord