엑셀에서 같은 색이 칠해진 셀의 합계 구하기

Public Function SumByBGColor(TargetRange, Optional RefCell) As Variant
    SumByBGColor = 0
    If IsMissing(ColorCell) Then
        SumColorIndex = Application.Caller.Interior.ColorIndex
    Else
        SumColorIndex = RefCell.Interior.ColorIndex
    End If
    For Each x In TargetRange
        If x.Interior.ColorIndex = SumColorIndex Then
            SumByBGColor = SumByBGColor + x.Value
        End If
    Next
End Function

TargetRange에서 RefCell과 같은 색으로 칠해진 셀끼리 합을 구하는 함수. 생각한대로 동작하긴 하는데, 에러체크를 뭘 해야 하는지도 잘 모르겠고, 버그가 뭐가 있는지도 잘 모르겠다. 일단은 TargetRange에 포함된 셀의 값이 변하면 재계산이 자동으로 되는데 배경색이 변하면 자동으로 안된다.

관련 내용을 찾아보다 발견한 사이트: Pearson Software Consulting

,

The DevCon command-line utility functions as an alternative to Device Manager

"하드웨어 안전하게 제거" (특히 USB 메모리) 를 편하게 할 수 있는 방법을 찾다가 발견한 것.
드라이버를 이리저리 주무를 수 있는 프로그램 같은데 사용법은 좀 더 연구를... -_-a
devcon.exe 를 다운받아서 압축을 풀어보면 32bit 용과 64bit 용이 있다.
System32 폴더 정도에 넣어놓고 사용하면 편할듯.


관련자료: http://support.microsoft.com/kb/311272

,

Office 2003 에서 회사 이름과 사용자 이름 변경

회사 이름은 레지스트리에서 직접 변경해 줘야 하는듯 하고, 사용자 이름은 사용자 이름이 저장되어 있는 레지스트리 키를 다른이름으로 바꾸어서, Office 프로그램이 실행되었을 때 다시 입력받도록 함.

관련정보: http://support.microsoft.com/kb/821550

,

How to read the output of netstat -k

@(#)How to read the output of netstat -k 14 AUG 2000 Rob Thomas robt@cymru.com
How to read the output of netstat -k

One of the most powerful, yet least utilized options for netstat is the
-k flag.  The "k" stands for kstat, a facility for perusing the kernel
statistics.

Early releases of Solaris (< 2.6) did not allow you to specify the inter-
face.  However, with Solaris 2.6 and higher, you may specifiy the inter-
face on the command line.  Below is a sample, as well as an explanation
of each variable in the output.  I have expanded the description provided
by Sun when I felt it was less than self-explanatory.

example: netstat -k hme0

hme0:
ipackets 85402 ierrors 0 opackets 470 oerrors 0 collisions 1 
defer 0 framing 0 crc 0 sqe 0 code_violations 0 len_errors 0 
drop 0 buff 0 oflo 0 uflo 0 missed 0 tx_late_collisions 0 
retry_error 0 first_collisions 0 nocarrier 0 inits 7 nocanput 0 
allocbfail 0 runt 0 jabber 0 babble 0 tmd_error 0 tx_late_error 0 
rx_late_error 0 slv_parity_error 0 tx_parity_error 0 rx_parity_error 0 
slv_error_ack 0 tx_error_ack 0 rx_error_ack 0 tx_tag_error 0 
rx_tag_error 0 eop_error 0 no_tmds 0 no_tbufs 0 no_rbufs 0 
rx_late_collisions 0 


ipackets           packets received 
ierrors            malformed packets received 
opackets           packets sent  
oerrors            output errors 
collisions         transmit collisions for a given packet  
defer		   deferred output transmissions ( but still sent )
framing            packets seen with framing or alignment errors
crc                packets received with CRC (checksum) errors
sqe                SQE test  errors 
code_violations    code violation errors 
len_errors         rx len errors (packet too large)
buff               buffer errors recv packet sizes > buffer size
drop               recv packets dropped
oflo               number of recv overflow due to a busy backplane
uflo               number of xmit underflow due to a busy backplane
missed             input packets recv missed
tx_late_collisions late collisions recv
retry_error        number xmit retry failures (for Ethernet, this is > 16
                   retries)
first_collisions   first collisions 
nocarrier          carrier (link) lost since system boot
inits              hardware has been initialized by an ioctl call
nocanput           errors trying to send packets upstream, canput() failed
allocbfail         times driver ran out of transmit buffers, allocb() failed
runt               recv runt (packet size < 64 bytes) packets, often the pro-
                   duct of collisions
jabber             jabber (improper electrical signal) errors
babble             babble (host transmitting beyond the time limit) errors
tmd_error          chained tx desc. errors
tx_late_error      SBUS tx late error
rx_late_error      SBUS rx late error
slv_parity_error   slave parity errors
tx_parity_error    tx parity errors 
rx_parity_error    rx parity errors 
slv_error_ack      slave error acks
tx_error_ack       tx error acks
rx_error_ack       rx error acks
tx_tag_error       tx tag error
rx_tag_error       rx tag error
eop_error          eop error
no_tmds            out of tmds
no_tbufs           out of xmit buffers
no_rbufs           out of recv buffers
rx_late_collisions recv late collisions, generally caused by exceeding the
                   maximum cable length dictates or faulty hardware

Rob Thomas, robt@cymru.com
http://www.enteract.com/~robt
,

KWM-U1000 와이브로 모뎀 무료체험

오래전 (그래봤자 몇달전...) 어느 날 회사에서 천장을 올려다 봤더니 KT Wibro라고 써있는 물건(?)이 붙어있었다. 그래서 저건 도대체 뭘로 연결해서 쓰는 건가 궁금해 하기만 하고, 검색해보거나 하지 않았는데, 며칠 전에 회사 사람이 뭔가 신기한 것을 가지고 있는 걸 발견했다.

나: 오옷? 이거 뭐삼?
그: 와이브로 모뎀이삼~ -_-+
나: 오오... 이거 어따 쓰는 물건이삼? +_+
그: 아, 그 와이브로 무선인터넷 하는 거삼! (무식하기는!!) 이거 무료 체험 중이삼~ ^^;
나: 엣? 나도! 나도! 나도!

이리하여... 나도 잽싸게 신청해서 받았는데, 아직 사용을 못해봤다. 집에서 노트북에 연결해봤더니 와이브로 신호가 안잡힌다... ㅜ_ㅜ 조만간에 노트북들고 버스를 타던지, 지하철을 타던지 해서 테스트해봐야 겠다.

와이브로 무료체험 신청: http://www.todaysppc.com/gong/gong9.php?it_id=372
KT 와이브로: http://wibro.ktmobile.co.kr/

,