땡큐엑셀vba & 엑셀매크로

'작성자 : 땡큐엑셀vba & 엑셀매크로
'목 적
'1) 여러시트에 있는 셀값을 msgbox를 이용해 출력해 봅니다.


Sub 여러시트에있는셀값출력()

    'Sheet1의 A1셀
    MsgBox Sheets("Sheet1").Cells(1, "A")
    
    'Sheet2의 A1셀
    MsgBox Sheets("Sheet2").Cells(1, "A")
    
    'Sheet3의 A1셀
    MsgBox Sheets("Sheet3").Cells(1, "A")
    

    MsgBox "완료되었습니다", vbInformation, "땡큐엑셀vba & 엑셀매크로"
End Sub

 

 

sheet1

 

sheet2

 

sheet3

 

 

sheet1의 a1셀 출력

 

sheet2의 a1셀 출력

 

sheet3의 a1셀 출력

 

 

셀_여러시트에 있는 셀값출력-땡큐엑셀vba.xlsm
0.02MB