Hi Experts,
I need to Copy the data in Sheet1 A1:C1 to Sheet2 but based on the row number indicated in Sheet1 A1.
So if A1 has 10 then the data on Sheet1 A1:C1 should be copied on Row 10 of Sheet2.
Thank you for all your help!!!
Hi Experts,
I need to Copy the data in Sheet1 A1:C1 to Sheet2 but based on the row number indicated in Sheet1 A1.
So if A1 has 10 then the data on Sheet1 A1:C1 should be copied on Row 10 of Sheet2.
Thank you for all your help!!!
If I've helped U pls click on d *Add Reputation
try this
Please Login or Register to view this content.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Thanks alansidman.
The script is working; however, i failed to indicate that A1:C1 contains a formula and their values are derived from another cell within the same sheet.
So for example A1 =k14
When I run the macro the command sometimes copy the formula (=K14) and not the value.
If that is the case, then you need to change the paste to paste special. The following line needs to change
toPlease Login or Register to view this content.
Please Login or Register to view this content.
Awesome!!!
i didn't know that putting the PasteSpecial command on the 2nd line makes all the difference.
Thanks man for all the help. Appreciate it!!!
Every day is a learning experience on this forum for everyone.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks