Hai Nisa,
Aktifkan worksheet sebelum proses keluar.
sheets("nama sheet yang akan ditampilkan").activate
unload nama_object_userform
Wassalam,
Kid
2015-06-10 13:39 GMT+10:00 Nisa Khairunnisa [email protected]
[belajar-excel] <[email protected]>:
>
>
> Mau tanya lagi, kalau kita buat button exit didalam userform supaya keluar
> yg dituju worksheet gmn ya ??
>
> Dikirim dari Yahoo Mail pada Android
> <https://overview.mail.yahoo.com/mobile/?.src=Android>
> ------------------------------
> *Dari*:"Aliif Akbar [email protected] [belajar-excel]" <
> [email protected]>
> *Tanggal*:Rab, 10 Jun 2015 pada 7:24
> *Judul*:RE: [belajar-excel] VBA Excel userform
>
>
>
> Selamat pagi,
> Berarti, userform lain ditutup dulu sebelum form lain muncul bu,
>
> Misal Userform1 dan userform2,
> Pada userform1 ada button1,
> Saat button1 diklick maka akan muncul userform2, seperti itukah?
> Maka di button action klik sebelum ada perintah menampilkan userform2,
> ditambah perintah untuk menutup userform1,
>
> Private Sub CommandButton1_Click()
> Unload me
> Userform2.show
> End Sub
>
> Saya sudah mencoba dan berhasil
>
> Sent from Microsoft Outlook for Windows 10 Mobile
> ------------------------------
> From: Nisa Khairunnisa [email protected] [belajar-excel]
> Sent: 10/06/2015 3:09
> To: [email protected]
> Subject: [belajar-excel] VBA Excel userform
>
>
>
> Ada yang tau gimana caranya supaya yang muncul hanya 1 form, ketika di
> klik button menuju ke form lain. Form yg satunya otomatis tertutup.
> Terimakasih
>
> Dikirim dari Yahoo Mail pada Android
> <https://overview.mail.yahoo.com/mobile/?.src=Android>
>
>
>