ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Total beginner (https://www.excelbanter.com/excel-programming/403529-total-beginner.html)

[email protected]

Total beginner
 
I am trying to write code and have hit a wall. So far, my efforts have
been at modifying recorded macros. I

Here is what I am trying to accomplish:

On a daily basis I update 30 rows of data on rawdata worksheet.Each
row has a unique identifer. which needs to be matched to a worksheet
(within the same workbook) of the same name, and then the data from
Rawdata is copy and pasted. This needs to loop through all instances.

Here is my current code:

Sheets("sheet1").Activate
Range("G7:K7").Select
Selection.Copy
Sheets("AAPL").Select
Range("B7").Select
ActiveSheet.Paste

Ron de Bruin

Total beginner
 
Maybe this is a start
http://www.rondebruin.nl/copy5.htm#below

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


wrote in message ...
I am trying to write code and have hit a wall. So far, my efforts have
been at modifying recorded macros. I

Here is what I am trying to accomplish:

On a daily basis I update 30 rows of data on rawdata worksheet.Each
row has a unique identifer. which needs to be matched to a worksheet
(within the same workbook) of the same name, and then the data from
Rawdata is copy and pasted. This needs to loop through all instances.

Here is my current code:

Sheets("sheet1").Activate
Range("G7:K7").Select
Selection.Copy
Sheets("AAPL").Select
Range("B7").Select
ActiveSheet.Paste



All times are GMT +1. The time now is 12:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com