Nitesh Khot Member Jul 8, 2014 #1 hi.... how to create new excelsheet of selected cols and rows in excel.
Luke M Excel Ninja Staff member Jul 8, 2014 #2 I'm afraid you're going to have to give more details than that for us to give an answer. All I was able to understand was that you want to create a new worksheet. What are we doing with "selected cols and rows"?
I'm afraid you're going to have to give more details than that for us to give an answer. All I was able to understand was that you want to create a new worksheet. What are we doing with "selected cols and rows"?
Nitesh Khot Member Jul 8, 2014 #3 suppose.....in my sheet1 i have data from A1:M255 Now if i select data B1:E50 then i want these data can be in another new workbook...(when executing macros)
suppose.....in my sheet1 i have data from A1:M255 Now if i select data B1:E50 then i want these data can be in another new workbook...(when executing macros)
Luke M Excel Ninja Staff member Jul 8, 2014 #4 Are we... copying all of B1:E50 into a new workbook, same sheet? A new workbook, with new sheet for each row? A new workbook, with new sheet for each column? Should the copying happen as soon as you select the data, or do you want to run the macro/hit a button?
Are we... copying all of B1:E50 into a new workbook, same sheet? A new workbook, with new sheet for each row? A new workbook, with new sheet for each column? Should the copying happen as soon as you select the data, or do you want to run the macro/hit a button?
Nitesh Khot Member Jul 8, 2014 #5 the whole selected data can be copied in another new workbook ....and when click on button it nedd to be run.
the whole selected data can be copied in another new workbook ....and when click on button it nedd to be run.
Luke M Excel Ninja Staff member Jul 8, 2014 #6 This will do what you asked. Code: Sub MakeNew() Dim selRange As Range Set selRange = Selection Application.Workbooks.Add selRange.Copy ActiveSheet.Cells(1, 1) End Sub
This will do what you asked. Code: Sub MakeNew() Dim selRange As Range Set selRange = Selection Application.Workbooks.Add selRange.Copy ActiveSheet.Cells(1, 1) End Sub