Moderatori: Anthony47, Flash30005
Il codice e questo :
"Set Shr =Shape(shape.count)"
Set Shr = ActiveSheet.Shapes(ActiveSheet.Shapes.Count)Sub GetShapeFromWeb(strShpUrl As String, rngTarget As Range)
Dim shp As Shape
With rngTarget
With .Parent
.Pictures.Insert strShpUrl
Set shp = .Shapes(.Shapes.Count)
End With
shp.Height = 329.25
shp.Left = 651.75
shp.Top = 27
shp.Width = 345
End With
Set shp = Nothing
'Foglio1.Range("A1").Select
End Sub
Sub Cancella_Immagini()
Cancellate = 0
For Each sh In ActiveSheet.Shapes
Foglio1.Shapes(1).Delete
Cancellate = Cancellate + 1
Next
If Cancellate = 0 Then
Cancellate = 4
'MsgBox "Non Sono Presenti Immagini Nel Foglio Selezionato"
Else
'MsgBox "Sono State Cancelalte '" & Cancellate & "' Immagini Nel Foglio Selezionato"
End If
End Sub
shp.LockAspectRatio = False For Each sh In ActiveSheet.Shapes
Foglio1.Shapes(1).Delete
Cancellate = Cancellate + 1
NextSub immagine()
ActiveSheet.Pictures.Insert("C:\Users\amaur\Pictures\100NIKON\DSCN2203 (5).png").Select
With ActiveSheet.Pictures(1)
.Left = ActiveWindow.VisibleRange.Columns(5).Left
.Top = ActiveWindow.VisibleRange.Rows(4).Top
End With
End Sub
Sub immagine()
Dim URL As String
ActiveSheet.Pictures.Insert(URL = "https://www.ilmeteo.it/meteo/Torino").Select
With ActiveSheet.Pictures(1)
.Left = ActiveWindow.VisibleRange.Columns(5).Left
.Top = ActiveWindow.VisibleRange.Rows(4).Top
End With
End Sub
Torna a Applicazioni Office Windows
| Convertire un numero nel suo decimale Autore: lone wolf |
Forum: Applicazioni Office Windows Risposte: 2 |
| cerca il più grande numero di celle vuote in un intervallo Autore: papiriof |
Forum: Applicazioni Office Windows Risposte: 2 |
| Automatizzare numero settimane nel mese di un anno Autore: Ricky0185 |
Forum: Applicazioni Office Windows Risposte: 3 |
Visitano il forum: danibi60, Gianca532011, Raffaele53 e 24 ospiti