Tecnologia, programação e muito Visual FoxPro.

segunda-feira, 26 de outubro de 2009

Re: ]] XL-mania [[ Membuat "border" secara otomatis

 

1. Select cell (misal B8)
2 Jalankan makro "BulanInBorders"
    a. Tekan Alt+F8 >
    b. Pilih Nama makro ("BulanInBorders")
    c. Tekan tombol RUN
 
'-----------------------------
Sub BulanInBorders()
   '// siti Vi //
   Dim b As Byte
   Const bln As String = "JanPebMarAprMeiJunJulAguSepOktNopDes"
   For b = 1 To 12
      With ActiveCell(1, b)
      .Value = Mid(bln, b * 3 - 2, 3)
      .Font.Bold = True
      .BorderAround Weight:=xlMedium
      .HorizontalAlignment = xlCenter
      .VerticalAlignment = xlCenter
      End With
   Next
   With ActiveCell(1, Month(Date) - 1).Borders(xlDiagonalDown)
      .LineStyle = xlContinuous
      .Weight = xlThin
      .ColorIndex = xlAutomatic
   End With
   With ActiveCell(1, Month(Date) - 1).Borders(xlDiagonalUp)
      .LineStyle = xlContinuous
      .Weight = xlThin
      .ColorIndex = xlAutomatic
   End With
   ActiveCell(2, 1).Select
End Sub

'-----------------------------
 

From: antonius sagala
To: XL-mania@yahoogroups.com
Sent: Monday, October 26, 2009 09:54AM
Subject: ]] XL-mania [[ Membuat "border" secara otomatis
Dear para Pakar XL,
Bisa gak yach di XL dibuat suatu kondisi yang memungkinkan hasil seperti terlampir.
Rgrds
Antonius

__._,_.___
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| Moderasi akan lambat minggu ini, momods pergi ke tempat jauh      |
| 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              |
+-------------------------------------------------------------------+
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Check out the

Y! Groups blog

Stay up to speed

on all things Groups!

Yahoo! Groups

Mental Health Zone

Mental Health

Learn More

.

__,_._,___

Nenhum comentário:

Arquivo do blog