ya betul om Kid errornya di situ.. dan kode yg diberikan om Kid yg terakhir itu sdh berhasil
terima kasih atas respon kilatnya dan mohon maaf lahir batin "'Mr. Kid' [email protected] [belajar-excel]" <[email protected]> menulis: >runtime errornya di baris select case cl.value - date ya ? >berarti nilai di cl tidak semuanya bertipe numerik. > >select case cl.value >case date-15 to date-1 > > > > > > > > > > >2015-07-15 12:28 GMT+07:00 yudha [email protected] >[belajar-excel] <[email protected]>: > >> >> >> terima kasih atas responnya om kid >> tapi setelah dicoba kok malah keluar " run-time error '13' type mismatch >> salam >> >> "'Mr. Kid' [email protected] [belajar-excel]" < >> [email protected]> menulis: >> >> >> >Hai Yudha, >> > >> >select case cl.value - date >> >case 1 to 15 >> > >> > >> > >> > >> > >> >2015-07-15 11:44 GMT+07:00 yudha [email protected] >> >[belajar-excel] <[email protected]>: >> > >> >> >> >> >> >> Salam master, >> >> mau nanya nih >> >> bagaimana cara agar penulisan kode tidak panjang.. >> >> kode seperti ini >> >> for each cl in y >> >> select case cl.value >> >> case is = date -1, date-2, date-3 dst sampai -15 >> >> >> >> nah adakah cara mengganti kode date-1s/d date -15 agar tdk terlalu >> >> panjang..soalnya akan dirubah sampai -30 >> >> terima kasih atas perhatiannya >> >> >> >> salam >> >> yudha >> >> >> >> >> >> >>

