Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Move contents from one tab to another


What would be the code to move the columns "J" "K" "L" & "M" from one
Tab labeled Invoice to Another labeled Master. They would need to be
moved to the same columns. (Hence J, K, L, & M)

Thanks,

Met


--
Metrazal
------------------------------------------------------------------------
Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648
View this thread: http://www.excelforum.com/showthread...hreadid=515410

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Move contents from one tab to another

Hi

Try this

Sheets("Invoice ").Columns("J:M").Copy Sheets("Master").Range("J1")


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Metrazal" wrote in message
...

What would be the code to move the columns "J" "K" "L" & "M" from one
Tab labeled Invoice to Another labeled Master. They would need to be
moved to the same columns. (Hence J, K, L, & M)

Thanks,

Met


--
Metrazal
------------------------------------------------------------------------
Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648
View this thread: http://www.excelforum.com/showthread...hreadid=515410



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default Move contents from one tab to another

Try this:

Sub CopyToMaster()
Worksheets("Invoice").Range("J:M").Copy
Destination:=Worksheets("master").Range("J:M")
End Sub


This makes a raw copy of the whole columns.

If you want to copy values only (formulaes' result) only, or optimize thz
number of cells to be copied, please ask

HTH,

--
AP

"Metrazal" a écrit
dans le message de
...

What would be the code to move the columns "J" "K" "L" & "M" from one
Tab labeled Invoice to Another labeled Master. They would need to be
moved to the same columns. (Hence J, K, L, & M)

Thanks,

Met


--
Metrazal
------------------------------------------------------------------------
Metrazal's Profile:

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



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
move cell contents David L Excel Discussion (Misc queries) 13 November 24th 05 08:18 PM
Macro to remove contents of cell and move all other contents up one row adw223 Excel Discussion (Misc queries) 1 July 1st 05 03:57 PM
When I move scroll bar in excell the contents do not move with it ramneek Excel Discussion (Misc queries) 2 June 29th 05 07:35 PM
How to move cell contents Stephane Excel Discussion (Misc queries) 6 January 13th 05 12:49 AM
Move Folder Contents Dave Peterson[_3_] Excel Programming 2 May 10th 04 03:36 PM


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