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
#69056
Galera fiz uma função simples de filtrar apenas numeros em uma determinada celula, e salvei na PERSONAL.XLSB para que fique disponivel para qualquer pasta, mas vi que ao abrir uma nova pasta de trabalho do Excel, a função não aparece, o que faço?
Código: Selecionar todos
Public Function sohnumero(texto As String) As String
Dim volta As String
Dim pedaco As String

volta = ""
For i = 1 To Len(texto)
pedaco = Mid(texto, i, 1)
If pedaco >= "0" And pedaco <= "9" Then volta = volta & pedaco
Next i
sohnumero = volta
End Function
#69057
Salve a sua Personal.xlsb na pasta XLINÍCIO ou XLSTART.
Abra o vbe e aperte as teclas ctrl+g para abrir a janela imediata
E digite ?Application.StartupPath para obter o caminho exato da pasta
Ex.:

C:\Users\Win 10\AppData\Roaming\Microsoft\Excel\XLINÍCIO
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