Get data from multiple sheets in a selected workbook
问题 I'm new to macros in Excel and I need to make a macro that get data from multiple sheets in a selected workbook. So far I have this code to select a file and get data from sheet 1, but I want it to be able to get information from all the sheets in the selected file. Sub MergeSelectedWorkbooks() Dim SummarySheet As Worksheet Dim FolderPath As String Dim SelectedFiles() As Variant Dim NRow As Long Dim FileName As String Dim NFile As Long Dim WorkBk As Workbook Dim SourceRange As Range Dim