Hello Ponch, I think you need to be very specific in your requirements. We need to understand, actually we need to make Excel and the computer understand the process(s) that you go through to accomplish your tasks. You need to lay out the "process" that you go through each day to get the tasks done. Is every sheet in the file going to be written to from exactly one sheet? How can the computer "find" the data you want copied to the other sheets and then the next, and so on. How does the computer (Excel) know when the task is complete, etc.
How many sheets are involved in all of this. Is there only one sheet where data come from and only one sheet that the data will go to. Is there a name on the "source" sheet that indicates the destination sheet, etc. Maybe you can go through your process and record it with the Excel VBA recorder and look at the resulting code. This is often a good way to "start" your VBA. Thanks, David On Tuesday, July 10, 2018 at 11:09:45 PM UTC-7, ponch wrote: > Hi All, > I would appreciate if anyone can help me on the following. > > I have a spreadsheet where I collect stock prices on the first tab, with > stock names by the columns, and dates by the row. Daily I add one more line > at the bottom with new prices. So on tab1 I have 10 columns and endless > rows, and the time series grows as I add more daily prices. > I use this data to run calculations on three other tabs, simply by copying > and pasting the last row on line below on each tab (i.e. row 560 calculates > daily return for the 9th of July, I will copy and past it to row 561 to > calculate it for the 10th of July, and so on). > Can anyone be so kind suggest a macro for this copy/paste exercise? I > would still have to input prices manually, but at least the other task will > be covered. > > Thanks!! > -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout.
