Sub test() Dim jumlahbaris As Long Dim jumlahkolom As Long jumlahbaris = Cells(Rows.Count, 2).End(xlUp).Row jumlahkolom = Cells(2, Columns.Count).End(xlToLeft).Column MsgBox "jumlah baris adalah : " & jumlahbaris & vbCrLf & "Jumlah kolom : " & jumlahkolom, vbokonlny + vbInformation, _ "Info" End Sub
Senin, 25 Oktober 2021
Baris Akhir dan Kolom Akhir
Langganan:
Posting Komentar (Atom)
Menghitung USIA Excel
=BYROW(D2:D100; LAMBDA(tanggal_lahir; IF(tanggal_lahir=""; ""; DATEDIF(tanggal_lahir; TODAY(); "y"...
-
Option Explicit Private Sub hasilpencariangabung() Dim gabung As Range Set gabung = Sheet8.Range("A4") gabung.CurrentRegion.Cl...
-
=BYROW(D2:D100; LAMBDA(tanggal_lahir; IF(tanggal_lahir=""; ""; DATEDIF(tanggal_lahir; TODAY(); "y"...
-
Option Explicit Sub import() Dim bukafile As Variant bukafile = Application.GetOpenFilename(FileFilter:="Excel Workbooks,*.xl*", ...
Tidak ada komentar:
Posting Komentar