Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
Greetings.. I have 3 Excel file with more than 700 rows and columns.I have to select some data and want to make some calculations with that and display the consolidated resultants in the new excel file. I have no clear path..Kindly guide me... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
use th efollowing code to copy the selected data to a new workbook...
dim wb as workbook dim ws as worksheet dim source as range set source = selection set wb = workbooks.Add set ws = wb.activesheet with ws.Range("A1").resize(source.rows.count,source.col umns.count) .Value = Source.Value end with since you have given no indication of what calculations are required, the best method to begin learning for yourself would be to turn on the macro-recorder, add whatever formula you need, stop the recorder and view the code. Code generated this way is not usually very flexible, but once you get the idea, you can often easily adapt it. "raja" wrote: hi, Greetings.. I have 3 Excel file with more than 700 rows and columns.I have to select some data and want to make some calculations with that and display the consolidated resultants in the new excel file. I have no clear path..Kindly guide me... |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thank you for ur guidance..
it worked well... but i couldnt understand the code.. what should i do if i understand the code..(tips pls)if i want to make some calculations where should i do? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automatically copy previous cells in data entry in Excel | Excel Discussion (Misc queries) | |||
Automatically copy formulas in selected row into a new row? | Excel Discussion (Misc queries) | |||
Automatically copy selected information from one worksheet to anot | Excel Discussion (Misc queries) | |||
Excel will not add cells automatically together when selected? | Excel Worksheet Functions | |||
Cells are being selected automatically in Excel | Excel Discussion (Misc queries) |