By ロレンツォ 06年2022月XNUMX日水曜日
投稿: Excel
返信 1
いいね 0
ビュー 6.4K
投票 0
誰もがGoodmorning、

ho trovato un codice molto utile sul sito che ingrandisce la cella unavoltaselezionata。 tuttavia la ingrandisce come immagineequindinonèpossibilecambiarneilcontenuto、cosa che invece vorrei fare ..... in pratica vorrei ingrandire la cella selezionandola per poi correggerne il contenuto、se necessario .... mi sapete aiutare? nel seguito il Codice .... GRAZIE !!!!!!!


Private Sub worksheet_selectionchange(ByVal Target As Range)
'Updateby Extendoffice
Dim xRg As Range
Dim xCell As Range
Dim xShape As Variant
Set xRg = Target.Areas(1)
For Each xShape In ActiveSheet.Pictures
If xShape.Name = "zoom_cells" Then
xShape.Delete
End If
Next
If Application.WorksheetFunction.CountBlank(xRg) = xRg.Count Then Exit Sub
Application.ScreenUpdating = False
xRg.CopyPicture appearance:=xlScreen, Format:=xlPicture
Application.ActiveSheet.Pictures.Paste.Select
With Selection
.Name = "zoom_cells"
With .ShapeRange
.ScaleWidth 1.5, msoFalse, msoScaleFromTopLeft
.ScaleHeight 1.5, msoFalse, msoScaleFromTopLeft
With .Fill
.ForeColor.SchemeColor = 44
.Visible = msoTrue
.Solid
.Transparency = 0
End With
End With
End With
xRg.Select
Application.ScreenUpdating = True
Set xRg = Nothing
End Sub

こんにちは、

申し訳ありませんが、VBAコードで拡大されたセルを編集することはできません。 ただし、Excel用のKutoolsを使用できます より大きなフォーミュラバー 機能:

large-formula.png


コンピュータにKutoolsforExcelがインストールされていない場合は、以下のリンクをクリックしてダウンロードしてください。 アドインは、30日間のフル機能の試用版を提供します。 https://www.extendoffice.com/product/kutools-for-excel.html

アマンダ
·
1年前
·
0が好き
·
0投票
·
0のコメント
·
投稿全体を見る