Dim tbxBottom as Single, lastRowTop as Single
With ActiveSheet.Shapes("TextBox 1")
tbxBottom = .Top + .Height
End With
With ActiveWindow.VisibleRange
lastRowTop = .Rows(.Rows.Count).Top
End With
Sub cmdCustomSig()
Dim fNameAndPath As Variant
Dim img As Picture, shp As Shape
Set shp = ThisWorkbook.Worksheets("quote_sheet").Shapes("textbox4")
fNameAndPath = Application.GetOpenFilename(Title:="Select Picture To Be Imported")
If fNameAndPath = False Then Exit Sub
Set img = Worksheets("quote_sheet").Pictures.Insert(fNameAndPath)
With img
.Top = shp.Top + shp.Height + "50"
.Left = "0"
End With
End Sub
Sub Find_First_Hor_PageBreak()
Dim iRow
iRow = Sheets("Sheet1").HPageBreaks(1).Location.Row
MsgBox iRow
End Sub