메인 컨텐츠로 가기

Excel에서 값만 붙여 넣도록 제한 (서식 방지)하는 방법은 무엇입니까?

일반적으로 Ctrl + V 키를 동시에 누르면 복사 된 데이터를 붙여 넣습니다. 그리고 모든 셀 서식과 함께 복사 된 값을 붙여 넣습니다. 값만 붙여넣고 셀 서식을 제한해야하는 경우 다음 방법이 도움이 될 수 있습니다.

값 붙여 넣기 기능을 사용하여 값만 붙여 넣도록 제한 (서식 방지)
VBA 코드를 사용하여 값만 붙여 넣도록 제한 (포맷 방지)
Excel 용 Kutools로만 값을 붙여 넣도록 제한


값 붙여 넣기 기능을 사용하여 값만 붙여 넣도록 제한 (서식 방지)

값만 붙여 넣도록 제한하는 쉬운 방법은 복사 된 데이터를 Excel에서만 값으로 붙여 넣는 것입니다.

1. 데이터를 복사 한 후 데이터를 붙여 넣을 대상 셀을 마우스 오른쪽 버튼으로 클릭합니다.

2. 그런 다음 마케팅은: 버튼 아래에 붙여 넣기 옵션 오른쪽 클릭 메뉴의 섹션. 스크린 샷보기 :

복사 된 셀의 값만 대상 셀에 붙여 넣어지는 것을 볼 수 있습니다.


VBA 코드를 사용하여 값만 붙여 넣도록 제한 (포맷 방지)

다음 VBA 코드는 복사 된 셀의 값만 붙여넣고 모든 셀 서식을 제한하는 데 도움이됩니다. 다음과 같이하십시오.

1. 프레스 다른 + F11 동시에 열려면 키 응용 프로그램 용 Microsoft Visual Basic 창.

2. 에서 응용 프로그램 용 Microsoft Visual Basic 창에서 이 워크북 FBI 증오 범죄 보고서 프로젝트 오른쪽 창을 열어 이 워크북 코드 창. 그런 다음 아래 VBA 코드를 복사하여 창에 붙여 넣으십시오.

VBA 코드 : Excel에서만 값 붙여 넣기로 제한

Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
    On Error Resume Next
    Target.PasteSpecial xlPasteValues
    Application.CutCopyMode = True
End Sub

3. 누르세요 다른 + Q 키를 동시에 눌러 Microsoft Visual Basic for Applications 창을 닫습니다.

이제 데이터를 복사하고 대상 워크 시트로 이동합니다. 대상 셀을 한 번만 클릭하거나 마우스 오른쪽 버튼으로 클릭하면 서식없이 즉시 복사 된 셀의 값을 붙여 넣습니다.


Excel 용 Kutools로만 값을 붙여 넣도록 제한

Excel 용 Kutools 's 범위 복사 유틸리티를 사용하면 선택한 범위의 값만 Excel에서 선택한 여러 범위를 쉽게 붙여 넣을 수 있습니다. 다음과 같이하십시오.

신청하기 전에 Excel 용 Kutools, 제발 먼저 다운로드하여 설치하십시오..

1. 길게 눌러 범위를 하나 또는 여러 개 선택합니다. Ctrl 키 키를 누른 다음 쿠툴 > 범위 복사

2. 에서 여러 범위 복사 대화 상자에서 마케팅은: 에서 옵션 선택하여 붙여 넣기 섹션을 클릭 한 다음 OK 버튼을 클릭합니다.

주의 사항: 둘 다 또는 둘 중 하나를 확인할 수 있습니다. 행 높이 포함 그리고 열 너비 포함 필요한 옵션.

3. 다음 여러 범위 복사 대화 상자에서 복사 한 셀을 붙여 넣을 빈 셀을 선택한 다음 OK 버튼을 클릭합니다.

그런 다음 범위 또는 여러 범위에서 선택한 모든 셀의 값만 붙여 넣습니다.

  이 유틸리티의 무료 평가판 (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
Hello, there are a problem here, values are automatically paste when you click on the cell
This comment was minimized by the moderator on the site
Hi, any chance to add this feature only in some sheets?
This comment was minimized by the moderator on the site
Hallo,
ich habe eine Excel-Datei (100 Tabellenregister) für die ich eine Formel gesucht habe, die es erlaubt, beim Kopieren nur Werte einfügen, möglich zu machen.

Ausschneiden+Drag&Drop habe ich bereits per Makro ausgeschaltet. Ich habe jetzt im Netz folgenden Code gefunden, den ich in
"Diese Arbeitsmappe" geschrieben habe:

Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
On Error Resume Next
Target.PasteSpecial xlPasteValues
Application.CutCopyMode = True
End Sub

(Der Code verursacht, dass ich nach kopieren, den Inhalt sofort als Wert in eine angeklickte Zelle kopiert bekomme)
Das funktioniert sehr gut, jedoch habe ich noch ein Problem dabei:

Wenn ich Werte aus einer Zelle kopiere, kann ich diese auch in geschützte
Zellen kopieren und das soll nicht sein. In vielen geschützten Zellen stehen Formeln die nicht überschrieben werden sollen.

Kann mir jemand helfen, wie ich den Code erweitern oder ändern kann, dass er es nur erlaubt in nicht geschützte Zellen zu kopieren?

Gruß Heiko
This comment was minimized by the moderator on the site
Hi! for Kutools 'Copy Ranges', I realized there is limit on number of columns that can be copy at a time. I am working with 7,500 columns. I select 7,500 columns as the range, but it can only copy and paste partial of what I had selected, not all. I am planning to copy all these columns in one go and paste. Is there any way I can do that ? just to speed things up. Any help would highly be appreciated. Thanks!
This comment was minimized by the moderator on the site
Hi, is there code for working with ctrl+v. This code paste automatically when selecting cell. I found module code below link but couldn't find code for workbook like this.
https://www.extendoffice.com/documents/excel/2545-excel-set-paste-values-as-default.html
This comment was minimized by the moderator on the site
It's sad no one answers. I need this information too.
This comment was minimized by the moderator on the site
This code was great, but it was pasting items in the system clipboard that were copied from other programs. I put it in an 'If' statement which does nothing, unless Excel cells are actually in Cut or Copy mode. i.e. moving border around the cell(s).

Application.CutCopyMode has three modes: False = Not in Cut or Copy mode. | xlCopy = In Copy mode. | xlCut = In Cut mode.

'If in Cut or Copy mode, Paste Values Only
'If Not in Cut or Copy mode, skip and do nothing.

On Error Resume Next
If Not Application.CutCopyMode = False Then
Target.PasteSpecial xlPasteValues
Application.CutCopyMode = True
End If

This was a bit of a bugger for me to figure out. Hope it helps someone else.
-Travis (IT Professional since 1996)
This comment was minimized by the moderator on the site
This addition was a great help! Thank you so much for posting!
This comment was minimized by the moderator on the site
Hi Travis, Thank you very much for posting this.
I never respond to posts but i appreciate you posting this answer.
This comment was minimized by the moderator on the site
Hi Travis, is there code for working with ctrl+v. This code paste automatically when selecting cell. I found module code below link but couldn't find code for workbook like this. I hope what I have requested is possible.
https://www.extendoffice.com/documents/excel/2545-excel-set-paste-values-as-default.html
This comment was minimized by the moderator on the site
Dean, it is very useful! Thanks!
This comment was minimized by the moderator on the site
Thank you so much!! It works well and its so useful for the project that I am working on.
This comment was minimized by the moderator on the site
This works for me:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error Resume Next
Target.PasteSpecial xlPasteValues
Application.CutCopyMode = True
End Sub
This comment was minimized by the moderator on the site
Would this work on Worksheet level only? I am trying to restrict this only on one worksheet (not entire workbook), but it seems there is a problem.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations