메인 컨텐츠로 가기

 외부 콘텐츠를 Excel에 붙여 넣는 방법은 항상 대상 서식과 일치합니까?

다른 외부 응용 프로그램에서 워크 시트로 데이터를 복사하여 붙여 넣으면 Excel은 기본적으로 사용되는 원래 서식으로 데이터를 붙여 넣습니다. 사용한 워크 시트의 고유 한 형식을 사용하여 붙여 넣은 데이터가 필요한 경우 붙여 넣을 때 필요에 따라 대상 서식 일치 옵션을 선택해야합니다. 하지만이 옵션을 자주 적용해야하는 경우 Ctrl + V를 사용하여 데이터를 붙여 넣을 때이 옵션을 기본값으로 설정하도록 도와 드릴 수 있습니다.

Excel 옵션을 사용하여 항상 대상 서식과 일치하는 외부 콘텐츠를 워크 시트에 붙여 넣습니다.

워크 시트에 외부 콘텐츠 붙여 넣기는 항상 VBA 코드로 대상 서식과 일치합니다.


Excel 옵션을 사용하여 항상 대상 서식과 일치하는 외부 콘텐츠를 워크 시트에 붙여 넣습니다.

Excel에서 대상 서식으로 데이터를 붙여 넣으려면 특수 명령을 추가 할 수 있습니다. 빠른 액세스 도구 모음.

1. 딸깍 하는 소리 입양 부모로서의 귀하의 적합성을 결정하기 위해 미국 이민국에 > 옵션 , 그리고 Excel 옵션 대화 상자 :

  • (1.) 클릭 빠른 액세스 도구 모음 왼쪽 창에서;
  • (2.) 그런 다음 모든 명령 아래에 에서 명령 선택 드롭 다운 목록;
  • (3.) 그런 다음 아래로 스크롤하여 붙여 넣기 및 대상 서식 일치 목록 상자에서;
  • (4.) 그런 다음 추가 >> 버튼을 눌러이 명령을 신속 접근 도구 막대 사용자 화.

문서 일치 대상 형식 지정-1

2. 이 명령을 추가 한 후 OK 버튼을 눌러이 대화 상자를 닫습니다.

3. 그리고 이제 붙여 넣기 및 대상 서식 일치 에 추가되었습니다. 신속 접근 도구 막대 사용자 화, 스크린 샷 참조 :

문서 일치 대상 형식 지정-2

다른 응용 프로그램의 데이터를 붙여 넣을 때 붙여 넣기 및 대상 서식 일치 버튼의 빠른 액세스 도구 모음, 내용이 워크 시트의 대상 서식과 일치하는 시트에 붙여 넣어집니다.

참고 : 이 방법은 Excel 2007에는 적용되지 않습니다.


워크 시트에 외부 콘텐츠 붙여 넣기는 항상 VBA 코드로 대상 서식과 일치합니다.

다음 VBA 코드와 함께 Ctrl + V를 사용할 때 대상 서식 일치를 기본 붙여 넣기 옵션으로 설정할 수도 있습니다.

1. 누르고 ALT + F11 키가 열립니다. Microsoft Visual Basic for Applications 창.

2. 딸깍 하는 소리 끼워 넣다 > 모듈을 클릭하고 다음 코드를 모듈 창.

VBA 코드 : 대상 서식 일치를 기본 붙여 넣기로 설정

Sub PasteWithDestinationFormatting()
ActiveCell.PasteSpecial (xlPasteValues)
End Sub

3. 그런 다음이 대화 상자를 저장하고 닫은 다음 Alt + F8 키를 눌러 매크로 대화. 에서 매크로 대화 상자에서 2 단계에서 만든 코드 이름을 선택하고 옵션 버튼, 다음 등장 매크로 옵션 대화 상자, 입력 v 아래에 바로 가기 키 섹션, 스크린 샷 참조 :

문서 일치 대상 형식 지정-3

4. 그런 다음 OK FBI 증오 범죄 보고서 매크로 옵션 대화 상자를 닫고 매크로 대화 상자.

이제 외부 응용 프로그램의 데이터를 워크 시트에 붙여 넣을 때 Ctrl + V, 데이터는 대상 서식 일치 기본적으로


관련 기사 :

Excel에서 Ctrl + V를 사용할 때 붙여 넣기 값을 기본 붙여 넣기로 설정하는 방법은 무엇입니까?


데모 : 항상 대상 서식과 일치하는 외부 콘텐츠를 Excel에 붙여 넣기

Excel 용 Kutools: 300 개 이상의 편리한 Excel 추가 기능으로 30 일 동안 제한없이 무료로 사용해 볼 수 있습니다. 지금 다운로드 및 무료 평가판!

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
On "Paste external content to worksheet always match destination formatting with VBA code". After "4. Then click OK in the Macro Options dialog, and close the Macro dialog box". The code would take effect only after saving/closing your worksheet.
This comment was minimized by the moderator on the site
Tried the close and save method. Still running into the same issue that Suneet was.
This comment was minimized by the moderator on the site
Hey, the macro for paste is not working. When I hit CTRL+v, it says: Run-time error '1004': PasteSpecial method of Range class failed
This comment was minimized by the moderator on the site
I'm getting this same error
This comment was minimized by the moderator on the site
Hello, guys,
If you want to paste the contents from website, you should apply the following VBA code.

Sub PasteWithDestinationFormatting()
Dim xRg As Range
Set xRg = Application.InputBox("Please select a cell to paste: ", "Kutools for Excel", , , , , , 8)
If xRg Is Nothing Then Exit Sub
xRg.Range("A1").Activate
ActiveSheet.PasteSpecial Format:="Unicode Text", Link:=False, DisplayAsIcon:=False
End Sub

After pasting this code into the code module, and then go to the Macro dialog box to set the shortcut.
From now, when pasting contents from other applications, such as Word, website, a prompt box will pop out to remind you select a cell to put the pasting contents, and the contents will be pasted as Match Destination Formatting by default.

Hope it can help you! Thank you!
This comment was minimized by the moderator on the site
What a dick
This comment was minimized by the moderator on the site
That worked, but now I have to double click, or else the Kutools message comes up. Any solution?
This comment was minimized by the moderator on the site
Works for me, just in case somebody needs it.

Sub PasteWithDestinationFormatting()
ActiveSheet.PasteSpecial Format:="Unicode Text", Link:=False, DisplayAsIcon:=False
End Sub
This comment was minimized by the moderator on the site
it works thanks
This comment was minimized by the moderator on the site
The problem I see after enabling this macro, that works nicely btw,is that my Undo button is greyed out and CTRL+z doesn't work anymore...
This comment was minimized by the moderator on the site
Same, I also cannot use CTRL+Z or and the Undo button is grayed out after using control +Z. But CTRL +V works now to allow me to copy and paste from Google Docs to Excel and have it match the destination format, saving me hundreds of clicks. Thanks!
This comment was minimized by the moderator on the site
i dont know how to thank you for this. its finally solved THANKYOU SOMUCH
This comment was minimized by the moderator on the site
OH MY GOODNESS !!!! YOU LITERALLY ARE A LIFE SAVER!
This comment was minimized by the moderator on the site
This worked for me. Thanks. You just saved me a few hundred clicks a day.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations