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

Tudo que estiver relacionado ao Excel básico, como somar, calcular média, colocar bordas, etc.
  • Avatar do usuário
Por guilhermesalvador
#48078
Olá!

Estou tentando importar dados de uma planilha do Google, porém, ao clicar em obter dados da web, apenas uma janela de navegador é aberta. Nos tutoriais que vejo, há um popup para inserção de link para sincronização. Caso eu tente fazer no meu Excel, ao colocar o link no pequeno navegador, dá um erro.

Onde estou errando?

Muito obrigado!
Por Diego100ges
Posts
#48083
Qual a versão do seu excel?
Acredito que abaixo de 2013 você precise do suplemento PowerQuery para fazer essas conexões.
Por Diego100ges
Posts
#48086
Estranho, na empresa onde trabalho nós utilizamos o excel 2010, então eu precisei instalar o suplemento do PowerQuery, porque eu tive esse mesmo problema, agora esta ok, vou na guia Power Query > Obter dados externos > Da Web e funciona ok.
Avatar do usuário
Por Basole
Posts Avatar
#48097
Veja se esta opcao em vba lhe atende
Código: Selecionar todos
Sub Import_GSpreadsheet()
    With ActiveSheet.QueryTables.Add(Connection:= _
        "URL;https://docs.google.com/spreadsheet/ccc?key=0Ah4Bis8FTYfCdDJILVdYOG1EZEYtc1N3NF96dHZSYkE&usp=sharing#gid=0", Destination:=Range("$A$1"))
        .Name = "TestImportGsheet"
        .FieldNames = True
        .RowNumbers = False
        .FillAdjacentFormulas = False
        .PreserveFormatting = True
        .RefreshOnFileOpen = False
        .BackgroundQuery = True
        .RefreshStyle = xlInsertDeleteCells
        .SavePassword = False
        .SaveData = True
        .AdjustColumnWidth = True
        .RefreshPeriod = 0
        .WebSelectionType = xlSpecifiedTables
        .WebFormatting = xlWebFormattingNone
        .WebTables = "1,2"
        .WebPreFormattedTextToColumns = True
        .WebConsecutiveDelimitersAsOne = True
        .WebSingleBlockTextImport = False
        .WebDisableDateRecognition = False
        .WebDisableRedirections = False
        .Refresh BackgroundQuery:=False
    End With
End Sub
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