Memuat
Memuat
Login and Access Rights for wedding planner
0 views
On open the user is asked for a password. Admin sees every sheet while staff only see Data and Dashboard.

Sensitive data is visible only to those who should see it.
The real project file is available. It is not just the picture above: you get the working file with every formula in place. It can be downloaded after payment, and we send the download link by WhatsApp or email.
ZIP: .xlsx workbook + VBA macro module (.zip)
| Cell | Formula | What it does |
|---|---|---|
| J3 | ="Peran aktif: "&J2 | Show the active user role. |
| J4 | =IF(J2="admin","Semua lembar","Data dan Dashboard") | Access scope by role. |
| J5 | =COUNTA(Data!B2:B61) | Rows available to the user. |
The macro module is delivered as a separate Modul_Makro.bas file inside the ZIP. Import it through Alt+F11. A short excerpt:
Private Sub Workbook_Open()
Dim pw As String, ws As Worksheet, admin As Boolean
pw = InputBox("Masukkan kata sandi:", "Login")
Select Case pw
Case "admin123": admin = True
Case "staf123": admin = False
Case Else
MsgBox "Kata sandi salah.", vbCritical
ThisWorkbook.Close SaveChanges:=False
Exit Sub
End Select
Sheets("Dashboard").Range("J2").Value = IIf(admin, "admin", "staf")
For Each ws In ThisWorkbook.Worksheets
If ws.Name = "Master" Or ws.Name = "Rekap" Then
ws.Visible = IIf(admin, xlSheetVisible, xlSheetVeryHidden)
End If
Next ws
Sheets("Dashboard").Activate
End SubColumns of the Data sheet:
| Wedding Item | Price |
|---|---|
| Venue Rental | 25,000,000 |
| Catering per Plate | 85,000 |
| Stage Decoration | 12,000,000 |
| Bridal Makeup and Attire | 8,000,000 |
| Photographer and Videographer | 9,000,000 |
| Wedding Rings | 7,500,000 |
| Printed Invitations | 4,500 |
| MC and Entertainment | 3,500,000 |
| Guest Souvenirs | 6,500 |
| Wedding Organizer | 10,000,000 |
The sample data is synthetic.
Yes. The picture above is only a preview. After payment we send the download link of the real project file (a ZIP containing the .xlsx workbook and the macro module) by WhatsApp or email.
No. The sample data is synthetic and only shows how the formulas behave. Replace it with your own data and the formulas keep working.
Yes, as a separate order. Message us on WhatsApp with a short description of your columns and what you want to see.
Sample data is synthetic. Excel is a trademark of Microsoft Corporation.
Back to Excel portfolio