자동설정은 아래 글을 참고하세요
https://thekkom.tistory.com/303
VBE/VBA DarkMode Theme Quick _VBA다크모드
2023-08-08 Link update What is엑셀의 VBA 작업을 하다보면, 다른 CODE IDE들처럼 Dark Mode에서 작업했으면 하는 생각이 듭니다. 색상대비로 오류가 눈에 잘 띄어고 오랜 시간 모니터를 볼 때 조금은 편합니
thekkom.tistory.com
HowTo
VBA 처음 다루다 보면, 검은 색 바탕색에 알록달록 표현되는 DARK MODE를 사용하는 것을 보면 따라하고 싶습니다.
그런데 잘 설명된 것들이 많지만 이 것도 귀찮다! 하면, REGISTRY를 다운받아 더블클릭하고 엑셀을 실행하면 됩니다.
*열어두었던 엑셀파일이 있다면 끄고 적용해야 합니다
(J 타입) >> 인터넷에서 제일 많이 보는 타입, 눈에 잘 들어온다.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VBA\7.1\Common]
"CODEBACKCOLORS"="4 1 7 7 6 4 4 4 0 0 0 0 0 0 0 0 "
"CODEFORECOLORS"="1 4 5 4 1 9 7 11 0 0 0 0 0 0 0 0 "
(S 타입) >> 그냥 내스타일, 약간 어둡게 쓰고 싶어서...
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VBA\7.1\Common]
"CODEBACKCOLORS"="4 16 14 13 15 4 4 4 11 9 0 0 0 0 0 0 "
"CODEFORECOLORS"="7 2 15 1 2 8 10 2 1 1 0 0 0 0 0 0 "
본인 스타일로 바꾸고 싶으면,
아래 그림처럼 VBE >> 옵션 >> Editor 포맷 항목에서 개별 항목을 바꾸어서 저장하면 됩니다.
REFERENCE
(( 설명 잘 되어 있는 블로그))
https://myexcelgenius.com/coding-vba-on-the-dark-side/
Coding VBA on the Dark Side - My Excel Genius
Have you ever wanted to change the colour scheme or theme of Excel's Visual Basic Editor? Read on to find out how and start coding on the Dark Side.Coding VBA on the Dark Side If you’ve been coding in any modern Development Environment, you may know that
myexcelgenius.com
https://nolongerset.com/dark-mode-in-vba/
Dark Mode in VBA
VBA may not have a preset "Dark Mode" like other modern development environments, but it's not hard to create one yourself.
nolongerset.com
https://vineetkumar.me/2019/09/changing-vba-editor-theme/
Convert VBA Editor to Dark Theme | Vineet Kumar
So there I was, trying to find best color combination for making my VBA editor in dark theme. While I did find an open source utility on GitHub to hack the VBE.dll and then replace it in the system, I simply wanted to know a color combination that I can qu
vineetkumar.me
_