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?
 
Martin LissConnect With a Mentor Older than dirtCommented:
Okay, this will work even if you need to add more rows between the sections on sheet2,
29098080.xlsm
0
 
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
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Avinash SinghAuthor Commented:
It is a historical data
0
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.