Tecnologia, programação e muito Visual FoxPro.

segunda-feira, 9 de janeiro de 2012

]] XL-mania [[ Format Time di Inputbox / Textbox

 

Dear  suhu,

 

Mohon dibantu untuk format time di macro, untuk textbox / inputbox.

Saya coba pakai coding di bawah ini, tetapi tetap saja yang muncul di textbox-nya formatnya : “0.0000”

 

Private Sub QAU_In1_MM_AfterUpdate()

    Application.Goto Reference:="In_QAU_In1"

    ActiveCell.FormulaR1C1 = "=TEXT(TIME(In_QAU_In1_HH,In_QAU_In1_MM,0),""hh:mm AM/PM"")"

    'QAU_In1.Value = Format(Me.QAU_In1.Value, "hh:mm AM/PM ")

End Sub

 

Adakah yang salah ? L

 

Thanks,

Nico

__._,_.___
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| ayooo... coba cari XL-mania di linkedin.com                       |
| momods kebanyakan e-mail :(... unread di kantor 6 ribu lebih :(   |
+-------------------------------------------------------------------+
| DILARANG : MLM, money game, OOT, iklan tanpa izin, SARA, testing, |
| pembicaraan pribadi, one line message,  melecehkan,  tidak sopan. |
+-------------------------------------------------------------------+
| Buat subjek yang kreatif, jangan : "tanya", "help", "mohon bantu" |
| Usahakan besar attachment < 200 kb. Gunakan  winzip  jika  perlu. |
+-------------------------------------------------------------------+
| Ajak teman-teman Anda bergabung dengan mengirim e-mail kosong ke  |
| XL-mania-subscribe@yahoogroups.com atau kirimkan mereka file dari |
| http://groups.yahoo.com/group/XL-mania/files/Promotion/           |
+-------------------------------------------------------------------+
| Berikan testimoni di : http://www.friendster.com/xlmania atau...  |
| http://www.xl-mania.com/2008/06/testimoni-xl-mania.html           |
+-------------------------------------------------------------------+
| Message lama ada di :                                             |
| http://groups.yahoo.com/group/XL-mania/messages [perlu yahoo id]  |
| http://www.mail-archive.com/xl-mania@yahoogroups.com              |
+-------------------------------------------------------------------+
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Nenhum comentário:

Arquivo do blog