21.PC_1




새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


● 작업)VBA로 엑셀 리본메뉴에 사용자정의 탭,버튼 추가하기

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    ● 작업)VBA로 엑셀 리본메뉴에 사용자정의 탭,버튼 추가하기

    https://xlworks.net/custom-tab-button-add/


    c:\Users\shimss\Downloads\VBA로_리본메뉴에_탭_버튼추가하기.zip

    3232235521_1666488061.521.png


    1) 파일하나  만들어 alt + f11 하여 아래내용 모듈에 추가 저장


    Sub loadCustomTabOfRibbon(ribbon As IRibbonUI)
     
    '//엑셀이 시작되면 사용자정의 탭을 활성화시킨다.
    On Error Resume Next
    ribbon.ActivateTab "myTabId001"
     
    End Sub
    Sub previewFromRibbon(control As IRibbonControl)
    '//리본의 사용자정의탭에 추가한 버튼을 클릭하면 실행되는 콜백프로시저
     
    MsgBox "미리보기가 클릭되었습니다!"
     
    End Sub
     
    Sub aboutFromRibbon(control As IRibbonControl)
    '//리본의 사용자정의탭에 추가한 버튼을 클릭하면 실행되는 콜백프로시저
     
    MsgBox "확인! 버튼이 클릭되었습니다!"
     

    End Sub

    2) 파일저장

     3232235521_1666488623.0109.png



    3) 파일 변경

    d:\sw\excel_매크로_리본에탭추가\vba_모듈추가리본메뉴작업.xlsm

    을 

    d:\sw\excel_매크로_리본에탭추가\vba_모듈추가리본메뉴작업.xlsm.zip

    이름  확장자 변경

    zip파일 확인



    4)d:\sw\excel_매크로_리본에탭추가\customUI.xml 파일 생성

     3232235521_1666488819.6454.png

    파일 저장해놓습니다


    d:\sw\excel_매크로_리본에탭추가\vba_모듈추가리본메뉴작업.xlsm.zip\_rels\.rels


    3232235521_1666495816.2651.png


    작업 내용

    d:\sw\excel_매크로_리본에탭추가\vba_모듈추가리본메뉴작업.xlsm

    을 불러옵니다

    d:\sw\excel_매크로_리본에탭추가\.rels
    d:\sw\excel_매크로_리본에탭추가\vba_모듈추가리본메뉴작업.xlsm.zip\_rels\.rels

    복사



    d:\sw\excel_매크로_리본에탭추가\vba_모듈추가리본메뉴작업.xlsm.zip\_rels\.rels

    을 열어 보면

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>



    여기에

    <Relationship Id="myRibbonCustomTabId001" Type="http://schemas.microsoft.com/office/2006/relationships/ui/extensibility" Target="customUI/customUI.xml"/>

    </Relationships>의 앞단에 추가

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/><Relationship Id="myRibbonCustomTabId001" Type="http://schemas.microsoft.com/office/2006/relationships/ui/extensibility" Target="customUI/customUI.xml"/>
    </Relationships>

    3232235521_1666495859.1141.png


    3232235521_1666496030.197.png


    d:\sw\excel_매크로_리본에탭추가\vba_모듈추가리본메뉴작업.xlsm.zip

    d:\sw\excel_매크로_리본에탭추가\vba_모듈추가리본메뉴작업.xlsm

    로 변경

    불러오기 합니다

    3232235521_1666496297.5449.png



    .end


    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    농촌님의 댓글

    no_profile 농촌 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (1.♡.176.132) 작성일

    공부 열심히 해 보겠습니다. 감사합니다.


    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,132 / 3 Page
    [ ● 윈도우 설정 항목 바로가기 만들기 > 시운드 오디오 설정 항목 바로가기 작업표시줄에 고정합니다. ]

    ● 윈도우 모든 설정 항목 바로가기 만들기 > 시운드 오디오 설정 항목 바로가기 작업표시줄에 고정합니다.ms-settings: URI 스키…

    [ ● Windows 실행 /부팅 프로그램 프로세스 유틸리티 AutoRuns 로 설정 변경하기 ]

    ●Windows 실행 /부팅 프로그램프로세스 유틸리티AutoRuns 로 설정 변경하기Windows v14.1용 autoruns 다운로드 >…

    [ ● 작업)VBA로 엑셀 리본메뉴에 사용자정의 탭,버튼 추가하기 ] 댓글 1

    ● 작업)VBA로 엑셀 리본메뉴에 사용자정의 탭,버튼 추가하기 https://xlworks.net/custom-tab-button-add/c:\…

    [ "Touch Keyboard and Handwriting Panel Service" 컴퓨터에서 실행되고 있지… ]

    ● "Touch Keyboard and Handwriting Panel Service" 컴퓨터에서 실행되고 있지 않습니다단자가 키보드 입력을 수…

    [ ● Bluetooth 간단 설정메뉴로 설정이동 추가방법및 블루투스 디바이스 검색 안됨 해결 ]

    ● Bluetooth 간단 설정메뉴로 설정이동 추가방법및블루투스 디바이스 검색 안됨 해결윈도우 pc에서 사운드 출력을 주변의 장치에 붙이기 위하…

    [ ● Chrome 원격 데스크톱으로 다른 컴퓨터에 액세스하기 ]

    ●Chrome 원격 데스크톱으로 다른 컴퓨터에 액세스 간단히 연결하기팀뷰어 보다 team viewer보다 간편하게 pc에서 다른 pc연결 원격 …

    [ ● [윈도우] 윈도우 탐색기에서 드라이브 숨기는 방법 ]

    ●[윈도우] 윈도우 탐색기에서 드라이브 숨기는 방법윈도우 탐색기 또는 내컴퓨터에서 드라이브를 숨기는 방법# 방법1. 시작 - 실행 - cmd -…

    [ ● cpu 100% load test 최대 출력 cpu 온도 측정 ]

    ● cpu 100% load test 최대 출력 cpu 온도 측정사용 프로그램 > aida64로 cpu load max실행 과 core t…

    [ Re: ● 윈도우 배경 바탕화면에 시간 CPU RAM 네트워크 속도 사용량 사용시간 rainmeter 정보 … ] 댓글 1

    감사합니다관리자 수정-------------------- 추가지메일로 로그인 다운로드  가능https://www.deviantart.com/hu…

    [ ● 데스크탑 월페이퍼 소프트웨어 ]

    ●데스크탑 월페이퍼 소프트웨어Windows용 PC 소프트웨어 다운로드 13개 https://en.lo4d.com/windows/desktop-w…

    [ windows 자격 증명과 내컴퓨터/네트워크/공유 폴더 확인 하기 ]

    windows 자격 증명과 내컴퓨터/네트워크/공유 폴더 확인 하기정상적인 네트워크에서 공유된 폴더를 확인공유 폴더 확인■ ▶ ☞ 정보찾아 공유 …

    [ ● winrar download 설치방법 ]

    ● winrar download 설치방법WinRAR 개요WinRAR 기능WinRAR은 압축된 아카이브를 구성하는 데 도움이 되는 많은 통합 추가…

    [ ● Totalcmd 아이콘 명령어 만들기 FastCopyPortable.exe 및 파일정보 확인 pestud… ]

    ●Totalcmd 아이콘 명령어 만들기FastCopyPortable.exe 및 파일정보 확인pestudio.exe 적용하기 1) 아이콘 빈공간에…

    [ 작업)How-To : 윈도우 10 PC 발목 잡는 8가지 원인 찾아내기 ]

    How-To : 윈도우 10 PC 발목 잡는 8가지 원인 찾아내기https://www.itworld.co.kr/main/참조 드립니다1. 전원 …

    [ ● 윈도우 하드웨어 드라이버 백업 sw BooZet Double Driver ] 댓글 1

    ● 윈도우 하드웨어 드라이버 백업 swBooZet Double Driverhttp://www.boozet.org/dd.htmhttp://www.…

    [ ● 윈도우11에서 바탕화면에 나만의 사진첩(갤러리) 가젯,위젯 만드는 방법 ]

    ●윈도우11에서바탕화면에 나만의 사진첩(갤러리)가젯,위젯만드는 방법8GadgetPack - Gadgets for Windows 11 / 10 /…



    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-01 17:12:22

    오늘의 홈 현황


    • 현재 접속자♨ 490 명
    • 오늘 가입자※ 2 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 12 명
    • 오늘 방문자 1,693 명
    • 어제 방문자 1,415 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,352,839 명
    • 전체 게시물※ 8,611 개
    • 전체 댓글수※ 24,675 개
    • 전체 회원수 11,004 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑