Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default copy paste codes


Could someone tell me some commands that will essentially copy and
paste?
Does cell.offset copy and paste? The help files says that it "returns",
but its only for a specific cell or range. I just need some different
commands for copy and paste


--
Taru
------------------------------------------------------------------------
Taru's Profile: http://www.excelforum.com/member.php...o&userid=35494
View this thread: http://www.excelforum.com/showthread...hreadid=553332

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default copy paste codes


Well What I want to do is to find anything beginning with TC and cut
and paste it one cell to the left of where its found. Right now I've
done this so far.

Sub SortCells()
Dim rng As Range
x = ("TC*")
With Worksheets("VVGI.GO")
Set rng = .Range("B1:B24518").Find(x.Value)
If Not rng Is Nothing Then
rng.Offset(0, -1).Value = .Cells(rng.Row, 1)
End If
End With
End Sub

Unfortunately there is a problem with the Set rng and alos with the
offset

Somebody want to look at this, give me some tips?


--
Taru
------------------------------------------------------------------------
Taru's Profile: http://www.excelforum.com/member.php...o&userid=35494
View this thread: http://www.excelforum.com/showthread...hreadid=553332

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
Codes needed to copy same one row from more than 300 Excel files Joe Roberto Excel Discussion (Misc queries) 1 September 25th 09 12:07 PM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM
Copy sheet and strip all vba codes helmekki[_55_] Excel Programming 0 November 10th 04 03:38 AM
What is the quickest way to copy codes in Sheets? Bob Phillips[_6_] Excel Programming 0 June 17th 04 05:13 PM
What is the quickest way to copy codes in Sheets? Bob Phillips[_6_] Excel Programming 0 June 17th 04 05:11 PM


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