Alan Seçilebilen InputBox Çalıştır - Microsoft Excel


Alan seçilebilen InputBox çalıştıran ve seçilen alanı mesaj olarak gösteren VBA kodudur.

Kod


Option Explicit

Sub AlanSecilebilenInputBoxCalistir()
    Dim alan  As Range
    Dim hucre As Range
    On Error Resume Next
    
    Set alan = Application.InputBox("Hücre adresini girin: ", Type:=8)
    
    MsgBox alan.Address & " alanı seçildi."
End Sub

Etiketler
microsoft excel microsoft excel vba microsoft excel vba alan işlemleri microsoft excel vba seçim işlemleri