transfer data from sheet1 to sheet2

transfer data from sheet1 to sheet2
kindly see the sample file
i need the vba code
Book6.xlsm
Avinash SinghAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
On sheet2, where do the numbers in column 'B' come from?
0
Martin LissOlder than dirtCommented:
I guess I need for you to explain where all the non-colored values on sheet2 come from.
0
Avinash SinghAuthor Commented:
It is a historical data
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Avinash SinghAuthor Commented:
I have shown in the sample file what we have to do
We have to transfer data from sheet1(which is highlighted in the sample file for ur understanding) to sheet2(which is highlighted in the sample file for ur understanding)
But in actual file there will be no highlighted colour there will be only  data
0
Martin LissOlder than dirtCommented:
Ok, but that's not what I meant. I assume that you want me to copy the values of the colored cells on sheet1 to the indicated places on sheet2. Is that all you want done, or do I need to copy to or calculate any of the other cell values on sheet2?
0
Avinash SinghAuthor Commented:
U have tp only copy the data from sheet1 and paste to sheet2 in the last empty row as shown in the sample file
0
Martin LissOlder than dirtCommented:
Are you saying that sheet2 would actually look like this before the data is copied from sheet1 to sheet2?2018-05-04_21-31-55.png
0
Martin LissOlder than dirtCommented:
Also you show only 3 stocks.  Can there be more that that?
0
Martin LissOlder than dirtCommented:
If there can be more than 3 stocks I suggest that rather than using sheet2 for the OPEN, HIGH, LOW and CLOSE values, that you have  OPEN, HIGH, LOW and CLOSE sheets. In other words for separate output sheets.
0
Avinash SinghAuthor Commented:
See the file with vba code it works fine only the thing is i have removed the analysing coloumn on book6 so i need a new code
Book5.xlsm
0
Martin LissOlder than dirtCommented:
Okay, this will work even if you need to add more rows between the sections on sheet2,
29098080.xlsm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Avinash SinghAuthor Commented:
Thnx Martin Sir for giving ur precious time to this post
Problem Solved
0
Martin LissOlder than dirtCommented:
You’re welcome and I’m glad I was able to help.

If you expand the “Full Biography” section of my profile you’ll find links to some articles I’ve written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange Most Valuable Expert (MVE) 2015, 2017
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
              Experts Exchange Top Expert VBA (current)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VBA

From novice to tech pro — start learning today.