Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
hme hme is offline
external usenet poster
 
Posts: 1
Default copy part of row


Hi everybody

I use:

rng.EntireRow.copy Destination:_
CurrentWkbk.Worksheets("sheet1").cells(Rows.Count, 1).End(xlUp)(2)

to copy entire row.

How can I copy just form column A to N.

Regards
HM

--
hm
-----------------------------------------------------------------------
hme's Profile: http://www.excelforum.com/member.php...fo&userid=1593
View this thread: http://www.excelforum.com/showthread.php?threadid=27796

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default copy part of row


hi!

try this to copy specific range of cell

Range("A9:N9").Select
Selection.Copy
Application.CutCopyMode = Fals

--
sujata_ghos
-----------------------------------------------------------------------
sujata_ghosh's Profile: http://www.excelforum.com/member.php...fo&userid=1643
View this thread: http://www.excelforum.com/showthread.php?threadid=27796

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default copy part of row


hi!

try this to copy specific range of cell

Range("A9:N9").Select
Selection.Copy
Application.CutCopyMode = False


sujat

--
sujata_ghos
-----------------------------------------------------------------------
sujata_ghosh's Profile: http://www.excelforum.com/member.php...fo&userid=1643
View this thread: http://www.excelforum.com/showthread.php?threadid=27796

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default copy part of row

set rng1 = rng.parent.Cells(rng.row,1).Resize(1,14)
rng1.EntireRow.copy Destination:_
CurrentWkbk.Worksheets("sheet1").cells(Rows.Count, 1).End(xlUp)(2)


--
Regards,
Tom Ogilvy


"hme" wrote in message
...

Hi everybody

I use:

rng.EntireRow.copy Destination:_
CurrentWkbk.Worksheets("sheet1").cells(Rows.Count, 1).End(xlUp)(2)

to copy entire row.

How can I copy just form column A to N.

Regards
HME


--
hme
------------------------------------------------------------------------
hme's Profile:

http://www.excelforum.com/member.php...o&userid=15930
View this thread: http://www.excelforum.com/showthread...hreadid=277967



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
Copy part of VLOOKUP formula? absfl Excel Discussion (Misc queries) 4 April 19th 09 08:08 PM
copy part of large WS to another sheet Aurise Excel Worksheet Functions 3 June 19th 07 04:59 PM
Find and copy part of a cell Srwe Excel Worksheet Functions 2 November 16th 05 11:46 AM
How do I copy part of each cell in a column? I should know this! Excel Discussion (Misc queries) 2 May 10th 05 02:04 PM
Copy and Paste part II ste mac Excel Programming 2 November 3rd 03 12:39 PM


All times are GMT +1. The time now is 09:20 AM.

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"