Bu siteden altın ve döviz bilgilerini userfromdaki textboxlara alabilirmiyiz http://www.altinkaynak.com/
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Emre()
Dim Osma As Object
Dim i As Integer
Range("A11").Value = "Veriler Alınıyor..."
Set Osma = CreateObject("Internetexplorer.Application")
Osma.Visible = False
Osma.Navigate "http://www.altinkaynak.com/"
Do While Not Osma.ReadyState = 4: DoEvents: Loop
Range("A3:C20").ClearContents
With Osma.Document.all
Range("A1").Value = Right(.Item(111).innertext, 17)
Range("A3").Value = .Item(78).innertext
Range("A4").Value = .Item(81).innertext & " / " & .Item(82).innertext
Range("A5").Value = .Item(83).innertext
Range("A6").Value = .Item(88).innertext & " / " & .Item(89).innertext
Range("B3").Value = .Item(131).innertext
Range("B4").Value = .Item(136).innertext & " / " & .Item(137).innertext
Range("B5").Value = .Item(138).innertext
Range("B6").Value = .Item(143).innertext & " / " & .Item(144).innertext
Range("B7").Value = .Item(145).innertext
Range("B8").Value = .Item(150).innertext & " / " & .Item(151).innertext
Range("B9").Value = "ONS: " & .Item(175).innertext
For i = 197 To 267 Step 10
Range("c65536").End(3)(2, 1) = Osma.Document.all.Item(i).innertext & " - " & _
Osma.Document.all.Item(i + 2).innertext & " / " & Osma.Document.all.Item(i + 3).innertext
Next i: i = Empty
End With
Columns.AutoFit: Rows.AutoFit
Range("A11").Value = "Veriler Alındı..."
Set Osma = Nothing
End Sub
Hocam lütfen yanlış anlamayın benim anlatmak istdiğim bu sizin gönderdiğiniz dosyada hiç bir değişiklik yapmadan ilk mesajımdaki resimdeki oluyor hocam.Excel hücre sutünlar aşağı doğru büyüyor sebebi nedir anlamış değilim.
Columns.AutoFit: Rows.AutoFit
Cells.WrapText = False
Üzgünüm hocam ama dediğiniz gibi kodu dediğiniz yere yazdım fakat değişen birşey olmadı.