Tecnologia, programação e muito Visual FoxPro.

quinta-feira, 30 de setembro de 2010

Re: ]] XL-mania [[ Create autonumber menggunakan makro excel

 

semoga sesuai yang diinginkan
tempatkan kursor dimana saja

assign tombol dengan makro berikut
Sub tes()
Dim n As Double
Dim r As Long
Dim c As Long

r = ActiveCell.Row
c = ActiveCell.Column
Cells(19, 4).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Clear

For n = 1 To Cells(11, 4).Value - Cells(9, 4).Value + 1
    Cells(r + n - 1, c).Value = Cells(9, 4).Value - 1 + n
Next n
Cells(r, c).Select
Range(Selection, Selection.End(xlDown)).Select
    Selection.NumberFormat = Cells(14, 4).Value
End Sub


On 9/29/2010 6:32 PM, Emailnya 4L4M wrote:

 

Dear Rekans

Hai salam perdamaian...
Mohon batuannya nih, buat rekan rekan semua, membuat autonumber
seperti ilustrasi yang dilampirkan.
langkah pertama:
Input field [begin no] dan [end no] kemudian format field (format
field digit selalu berubah)
dan klik [button process] kemudian akan muncul hasil yang diinginkan (RESULT)

Terima kasih


__._,_.___
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| ooooOOooOooOooOooOoooOoo ngantuukkkkk... badday pasti berlalu...  |
| http://www.facebook.com/group.php?gid=37671048001&ref=mf          |
+-------------------------------------------------------------------+
| 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              |
+-------------------------------------------------------------------+
.

__,_._,___

Nenhum comentário:

Arquivo do blog