Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Howard
 
Posts: n/a
Default Copy data from one worksheet to another

I have a worksheet set up to enter first and last names in cell C8 and G8 and
I need to have this to be copied to another worksheet in two columns headed
as First Name and Last name when I click on another cell to activate the
print and save function.
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Howard

are the first & last names in C8 & G8 always going to the same cells in the
second sheet - or do you want them to go in to the next available line in a
column of first & last names?

also, what you do mean when you say "i click on another cell to activate the
print & save function" to do have a macro that runs a print & save
function (if so could you copy & paste it into your reply to the above
question).

Thanks
JulieD

"Howard" wrote in message
...
I have a worksheet set up to enter first and last names in cell C8 and G8
and
I need to have this to be copied to another worksheet in two columns
headed
as First Name and Last name when I click on another cell to activate the
print and save function.



  #3   Report Post  
Howard
 
Posts: n/a
Default

Hello Julie,
The first and last names are supposed to go to the next availiable line in
columns for first and last names.
I have a macro set up which moves the data to the second sheet and prints a
report then resets the first sheet to recieve additional names. Here is the
macro and thanks for your time.

Sub finishup()
'
' finishup Macro
'
'

'
Sheets("PATRON LOG").Select
Rows("2:2").Select
Selection.Insert Shift:=xlDown
Rows("3:3").Select
Selection.Copy
Range("A2").Select
Selection.PasteSpecial Paste:=xlFormulas, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False
Rows("3:3").Select
Application.CutCopyMode = False
Selection.Copy
Range("A3").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Sheets("RESERVATION CONFIRM").Select
Range("E9").Select
Application.CutCopyMode = False
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Range("A8:D11").Select
Selection.ClearContents
Range("B12:D12").Select
Selection.ClearContents
Range("H8:K12").Select
Selection.ClearContents
Range("C15").Select
Selection.ClearContents
Range("C16").Select
Selection.ClearContents
Range("D17").Select
Selection.ClearContents
Range("J16").Select
Selection.ClearContents
Range("A8:B8").Select
ActiveCell.FormulaR1C1 = "first name"
Range("C8:D8").Select
ActiveCell.FormulaR1C1 = "last name"
Range("A9:D9").Select
ActiveCell.FormulaR1C1 = "address€¦use second line below if needed"
Range("A11:B11").Select
ActiveCell.FormulaR1C1 = "city"
Range("C11").Select
ActiveCell.FormulaR1C1 = "state"
Range("D11").Select
ActiveCell.FormulaR1C1 = "zip code"
Range("B12:D12").Select
ActiveCell.FormulaR1C1 = "phone with area code..just digits"
ActiveWorkbook.Save
End Sub

"JulieD" wrote:

Hi Howard

are the first & last names in C8 & G8 always going to the same cells in the
second sheet - or do you want them to go in to the next available line in a
column of first & last names?

also, what you do mean when you say "i click on another cell to activate the
print & save function" to do have a macro that runs a print & save
function (if so could you copy & paste it into your reply to the above
question).

Thanks
JulieD

"Howard" wrote in message
...
I have a worksheet set up to enter first and last names in cell C8 and G8
and
I need to have this to be copied to another worksheet in two columns
headed
as First Name and Last name when I click on another cell to activate the
print and save function.




Reply
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
How do I copy my dropdown box with data to another worksheet? Tess Excel Worksheet Functions 0 February 10th 05 08:33 PM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
how do I make a copy of a worksheet and retain formulas but not data FireBrick Setting up and Configuration of Excel 2 December 29th 04 07:33 PM
Copy data into a NEW worksheet Krefty Excel Discussion (Misc queries) 1 December 22nd 04 01:53 PM


All times are GMT +1. The time now is 02:26 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"