LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Tfr data from one sheet to another


Hi There

I am haveing trouble moving data from one sheet called "Survey" to
worksheet called Summary.

I wanted the "Survey" sheet to be filled out and at the click of a
button trnasfer the data from Survey worksheet to summary and blank
"Survey.
Next time the information is entered I want the data posted to the next
available column in the summary sheet.

This is what I have so far but it is not working.

PLease help.


Private Sub CommandButton1_Click()

Dim Survey As Worksheet
Dim Summary As Worksheet


Set Survey = Worksheets("Survey")
Set Summary = Worksheets("Summary")

Survey.Range("C3").Value = Summary.Range("B1").Value
Survey.Range("C4").Value = Summary.Range("B3").Value
Survey.Range("C5").Value = Summary.Range("B4").Value
Survey.Range("C6").Value = Summary.Range("B5").Value
Survey.Range("G3").Value = Summary.Range("B2").Value

Survey.Range("D14").Value = Summary.Range("B7").Value
Survey.Range("D15").Value = Summary.Range("B8").Value
Survey.Range("D16").Value = Summary.Range("B9").Value
Survey.Range("D17").Value = Summary.Range("B10").Value
Survey.Range("D18").Value = Summary.Range("B11").Value

Survey.Range("D21").Value = Summary.Range("B13").Value
Survey.Range("D22").Value = Summary.Range("B14").Value
Survey.Range("D23").Value = Summary.Range("B15").Value

Survey.Range("D26").Value = Summary.Range("B17").Value
Survey.Range("D27").Value = Summary.Range("B18").Value
Survey.Range("D28").Value = Summary.Range("B19").Value

Survey.Range("D31").Value = Summary.Range("B21").Value
Survey.Range("D32").Value = Summary.Range("B22").Value

Survey.Range("D35").Value = Summary.Range("B24").Value

Survey.Range("c39").Value = Summary.Range("B26").Value



End Sub

thx in advance you guys are great!


--
Mikeice
------------------------------------------------------------------------
Mikeice's Profile: http://www.excelforum.com/member.php...o&userid=22467
View this thread: http://www.excelforum.com/showthread...hreadid=374865

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy rows from one Data sheet to another sheet based on cell conte John McKeon Excel Discussion (Misc queries) 2 May 15th 10 06:49 AM
Duplicate sheet, autonumber sheet, record data on another sheet des-sa[_2_] Excel Worksheet Functions 0 May 8th 08 06:56 PM
Hyperlinking from data in one sheet to matching data in another sheet Phrank Excel Worksheet Functions 6 December 18th 07 09:58 AM
create a formula in one sheet that would read data from separate sheet automatically QD Excel Discussion (Misc queries) 0 December 8th 06 04:17 AM
pull data from sheet two, then fill in the data to sheet one (part Jim Excel Worksheet Functions 3 December 11th 04 04:51 AM


All times are GMT +1. The time now is 11:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"