Public Sub lowerstNSW() Dim x, Rng1 Dim excel As New Microsoft.Office.Interop.Excel.Application Rng1 = Globals.Sheet1.Range("E16:E30") x = excel.Min(Rng1) If x = 0 Then x = excel.Evaluate("=MIN(IF(" _ & Rng1.Address & ">0," _ & Rng1.Address & "))") End If Globals.Sheet1.Range("K2").Value = x End Sub
|vba in excel to send reply for sent email including original message||2||62|
|Excel file not created as expected||7||46|
|Manually enter date in datepicker||24||28|
|Dynamic Filter ?||3||0|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
12 Experts available now in Live!