ブックを共有せずに変更を追跡するにはどうすればよいですか?
通常、Excelで変更の追跡機能を適用すると、ブックが同時に共有されます。これは、Excelの一部の機能が無効になるため、煩わしいものになります。 ブックを共有せずに変更を追跡するにはどうすればよいですか? ここでは、VBAコードをお勧めします。
Outlookでテキストを表に変換する
この問題を直接解決する方法はありませんが、柔軟なVBAコードを適用して解決することができます。次のようにしてください。
1。 変更されたセルを追跡するシートタブを右クリックして、 コードを表示 コンテキストメニューから、ポップアウトで アプリケーション向け Microsoft Visual Basic ウィンドウの場合は、次のコードをコピーして空白に貼り付けてください モジュール:
VBAコード:ブックを共有せずに変更を追跡します。
Private Sub Worksheet_Change(ByVal Target As Range)
'Updateby Extendoffice
Const xRg As String = "A1:Z1000"
Dim strOld As String
Dim strNew As String
Dim strCmt As String
Dim xLen As Long
With Target(1)
If Intersect(.Cells, Range(xRg)) Is Nothing Then Exit Sub
strNew = .Text
Application.EnableEvents = False
Application.Undo
strOld = .Text
.Value = strNew
Application.EnableEvents = True
strCmt = "Edit: " & Format$(Now, "dd Mmm YYYY hh:nn:ss") & " by " & _
Application.UserName & Chr(10) & "Previous Text :- " & strOld
If Target(1).Comment Is Nothing Then
.AddComment
Else
xLen = Len(.Comment.Shape.TextFrame.Characters.Text)
End If
With .Comment.Shape.TextFrame
.AutoSize = True
.Characters(Start:=xLen + 1).Insert IIf(xLen, vbLf, "") & strCmt
End With
End With
End Sub
Note:上記のコードでは、 A1:Z1000 変更を追跡するデータ範囲です。
2。 次に、このコードウィンドウを保存して閉じます。これで、コードで設定した指定範囲内のセルの値を変更すると、セルが追跡され、ブックは共有されません。 スクリーンショットを参照してください:
最高のオフィス生産性向上ツール
🤖 | Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行 | コードを生成 | カスタム数式の作成 | データを分析してグラフを生成する | Kutools関数を呼び出す... |
人気の機能: 重複を検索、強調表示、または識別する | 空白行を削除する | データを失わずに列またはセルを結合する | 数式なしのラウンド ... | |
スーパールックアップ: 複数の基準の VLookup | 複数の値の VLookup | 複数のシートにわたる VLookup | ファジールックアップ .... | |
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する | 依存関係のドロップダウン リスト | 複数選択のドロップダウンリスト .... | |
列マネージャー: 特定の数の列を追加する | 列の移動 | Toggle 非表示列の表示ステータス | 範囲と列の比較 ... | |
注目の機能: グリッドフォーカス | デザインビュー | ビッグフォーミュラバー | ワークブックとシートマネージャー | リソースライブラリ (自動テキスト) | 日付ピッカー | ワークシートを組み合わせる | セルの暗号化/復号化 | リストごとにメールを送信する | スーパーフィルター | 特殊フィルター (太字/斜体/取り消し線をフィルター...) ... | |
上位 15 のツールセット: 12 テキスト ツール (テキストを追加, 文字を削除する、...) | 50+ チャート 種類 (ガントチャート、...) | 40+ 実用的 式 (誕生日に基づいて年齢を計算する、...) | 19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...) | 12 変換 ツール (数字から言葉へ, 通貨の換算、...) | 7 マージ&スプリット ツール (高度な結合行, 分割セル、...) | ... もっと |
Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。 最も必要な機能を入手するにはここをクリックしてください...
Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作業をはるかに簡単にします
- Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
- 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
- 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Sort comments by
#40913
This comment was minimized by the moderator on the site
0
0
#37005
This comment was minimized by the moderator on the site
Report
0
0
#37006
This comment was minimized by the moderator on the site
Report
1
0
#37007
This comment was minimized by the moderator on the site
Report
0
0
#37013
This comment was minimized by the moderator on the site
Report
0
0
#37844
This comment was minimized by the moderator on the site
Report
0
0
#37008
This comment was minimized by the moderator on the site
0
0
#37009
This comment was minimized by the moderator on the site
Report
1
0
#37012
This comment was minimized by the moderator on the site
Report
0
0
#37010
This comment was minimized by the moderator on the site
Report
0
0
#37011
This comment was minimized by the moderator on the site
Report
0
0
#33792
This comment was minimized by the moderator on the site
0
0
#19067
This comment was minimized by the moderator on the site
0
0
#19068
This comment was minimized by the moderator on the site
0
0
There are no comments posted here yet