Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
export excel data to another sheet
Hi, I am working on a bunch of statistic daily and would like to store the statistic on a daily basis. I want to create a button in a spreadsheet (data.xls) and once I press it it will export the "useful" data to another excel file (Turnover.xls). Both of the file will be located in the same directory. I am not sure what functions to use to copy certain cells from data.xls to Turnover.xls. How should I refer to Turnover.xls file? do I use the workbook function? PLEASE help!!! thanks. -- owl527 ------------------------------------------------------------------------ owl527's Profile: http://www.excelforum.com/member.php...o&userid=20916 View this thread: http://www.excelforum.com/showthread...hreadid=499660 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
export excel data to another sheet
No problems here.
My suggestion... Record a macro that copies all of your 'useful' data and pastes it into another sheet. Edit the macro in the VB Editor. Workbooks are objects and thus have properties. Therefore you can have this... ActiveWorkbook.Name So create 2 str variables, strData and strTurnover. Then... strData = ActiveWorkbook.Name strTurnover = Workbook("Turnover").Name You can then reference both sheets by using this command. Workbook({Enter str variable for the sheet you want}).Activate HTH. "owl527" wrote: Hi, I am working on a bunch of statistic daily and would like to store the statistic on a daily basis. I want to create a button in a spreadsheet (data.xls) and once I press it it will export the "useful" data to another excel file (Turnover.xls). Both of the file will be located in the same directory. I am not sure what functions to use to copy certain cells from data.xls to Turnover.xls. How should I refer to Turnover.xls file? do I use the workbook function? PLEASE help!!! thanks. -- owl527 ------------------------------------------------------------------------ owl527's Profile: http://www.excelforum.com/member.php...o&userid=20916 View this thread: http://www.excelforum.com/showthread...hreadid=499660 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
export excel data to another sheet
I want to record it in another file, not another sheet. How can I record the macro? Please explain, I am a newbie here. Thanks very much for your help. -- owl527 ------------------------------------------------------------------------ owl527's Profile: http://www.excelforum.com/member.php...o&userid=20916 View this thread: http://www.excelforum.com/showthread...hreadid=499660 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
export excel data to another sheet
I want to copy the data between two blank rows from one sheet to the another. How can I do that? -- Sylvia ------------------------------------------------------------------------ Sylvia's Profile: http://www.excelforum.com/member.php...o&userid=30300 View this thread: http://www.excelforum.com/showthread...hreadid=499660 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Export Data into another sheet | Excel Discussion (Misc queries) | |||
Extract Data by keyword and export to new Excel sheet | Excel Worksheet Functions | |||
can I export just the autofiltered data into own sheet? | Excel Discussion (Misc queries) | |||
export data from MS Excel sheet to external database | Excel Programming | |||
Export Excel Sheet to JPG or TIF | Excel Programming |