Escola Saberexcel VBA Estudos® – Treinamentos com Macros, Fórmulas e Funções
Excel VBA Shapes Planilha 41 carregar imagem e Userform
CRIAR E COPIAR UMA IMAGEM GIF DE UMA TABELA PARA UM USERFORM
Com estes procedimentos do Aplicativo Microsoft Excel VBA(Visual Basic Application),Copiar imagem gif de uma tabela para dentro de um formulário ‘um Obejto Userform’
Private Sub UserForm_Initialize()
ChDir ActiveWorkbook.Path
With Saber1
.[A1:E6].CopyPicture
.Paste Destination:=.Range(“A1”) ‘ciar um shapes
Set s = .Shapes(.Shapes.Count)
s.CopyPicture
.ChartObjects.Add(0, 0, s.Width, s.Height * 1.15).Chart.Paste
.ChartObjects(1).Chart.Export Filename:=”vImagem.jpg”, FilterName:=”jpg”
.Shapes(.Shapes.Count).Delete
.Shapes(.Shapes.Count).Delete
End With
Me.Image1.Picture = LoadPicture(“vImagem.jpg”)
End Sub

Aprenda tudo sobre planilhas do Aplicativo Microsoft Excel VBA(Visual Basic Application), sozinho, com baixo custo, praticando com os produtos didáticos Escola SaberExcel VBA Estudos® – Treinamentos com Macros, Fórmulas e Funções.
Compre pelo PagSeguro | Compre pelo PayPal | |
![]() |
![]() |
|
Material Didático: Curso Excel VBA Expert |
![]() |
![]() |
![]() |
<Verifique no email a caixa de itens excluídos também >> |
Excel VBA Shapes 41 carregar imagem também Userform