How can i change this code so it works for jpg and gif?
If Dir(Path & Cell & ".jpg") <> "" Then
With .Pictures.Insert(Path & Cell & ".jpg")
Thanks in advance
Try this.
This will delete all rows below the last value in column B
Sub Belle()
Dim lastRow As Long
Dim row As Long
Dim temp As String
' insert your sheet name here
With ThisWorkbook.Worksheets("Delete.Rows")
lastRow = .Cells(.Rows.Count, "A").End(xlUp).row
' you can change the starting...
Problem 1:
In the properties set tabstop on false and locked on true where applicable.
Problem 2:
Use a real table instead of Defined Name Range for your mastersheet then the Formulas will be added automaticly.
Yes it is possible, but you need to use a class module
In the class module
Public WithEvents MyTBoxes As MSForms.TextBox
Private Sub MyTBoxes_Change()
With Me.MyTBoxes
.Text = UCase(.Text)
End With
End Sub
Then in your Userform code
Dim colTBoxes As New Collection
Private Sub...
Add this code in the your data entry form. (masterform)
Private Sub TextShopOrderNumber_Change()
TextShopOrderNumber.Text = UCase(TextShopOrderNumber.Text)
End Sub
A starter.
Sub Belle()
Dim i As Long
For i = Cells(Rows.Count, 12).End(xlUp).Row To 2 Step -1
If Cells(i, 12) = "Review" Then
Range("A" & i & ":AW" & i).Copy Sheets("Review Sheet").Cells(Rows.Count, 1).End(xlUp).Offset(1)
Cells(i, 12).EntireRow.Delete...