Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default offic XP (Excel)

I am trying to automatically extract a single or multiple cell(s) (data) from
one worksheet to another worksheet within the same workbook. can that be done
and if so, how?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default offic XP (Excel)

There are a number of ways to do this.

But first we need to know how you determine what cell(s) to copy and how
you determine where they go.

simple examples are
[Note that there is no selecting, and the destination range can be a single
cell]

Sheets("Sheet1").Range("A1:D9").Copy _
Destination:= Sheets("Sheet2").Range("M1")

Selection.Copy_
Destination:= Sheets("Sheet2").Range("M1")

another is
Sheets("Sheet2").Range("M1:P9")=Sheets("Sheet1").R ange("A1:D9")
or
Sheets("Sheet2").Range("M1:P9").Value=Sheets("Shee t1").Range("A1:D9").Value

--
steveB

Remove "AYN" from email to respond
"Colin2u" wrote in message
...
I am trying to automatically extract a single or multiple cell(s) (data)
from
one worksheet to another worksheet within the same workbook. can that be
done
and if so, how?



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
musical notes displayed in Word (offic 2003) IMK Excel Discussion (Misc queries) 3 October 2nd 08 12:47 AM
How do you rename table headers in a query using Offic 07? DFoster Excel Worksheet Functions 3 August 29th 08 01:48 PM
Lost formatting/colors on shared file w/new computer(2003 ms offic Earl Excel Discussion (Misc queries) 1 April 12th 07 10:38 PM
how can I install the offic assistant to my system msstitchess Excel Worksheet Functions 1 June 24th 06 04:45 PM


All times are GMT +1. The time now is 10:26 PM.

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

About Us

"It's about Microsoft Excel"