Hi Everybody,
Can someone please help me convert this to FWH.
The area I'm most stuck with is:
Can someone please help me convert this to FWH.
Sub InsertPicture()
Dim oSheet As Worksheet
Dim cBMP1 As String
Dim cBMP2 As String
Dim rngOutput As Range
Set oSheet = ActiveSheet
cBMP1 = "C:\temp\a.bmp"
Set rngOutput = oSheet.Range("A1", "A1")
With oSheet.Pictures.Insert(cBMP1)
.Left = rngOutput.Left
.Top = rngOutput.Top
End With
cBMP2 = "C:\temp\b.bmp"
Set rngOutput = oSheet.Range("A61", "A61")
With oSheet.Pictures.Insert(cBMP2)
.Left = rngOutput.Left
.Top = rngOutput.Top
End With
End SubThe area I'm most stuck with is:
With oSheet.Pictures.Insert(cBMP2)
.Left = rngOutput.Left
.Top = rngOutput.Top
End WithThanks,
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)