LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default copying text using cells(R,C) function

I am trying to copy text from one sheet to another using the Cells
function.
Originally I tried .Value, but I think that only works for numbers,
not letters/words.

That being said, here is what I have below.


Sheets("Sheet1").Cells(ItemRow, ItemColumn).Select
Selection.Copy
Sheets("Sheet2").Cells(SokuteiItemRow, SokuteiItemColumn).Select
ActiveSheet.Paste

Yet when I run the program, I get a debugging error and the third row
of the above code is highlighted.

Where am I going wrong? Is there an easy way to do the code below
which works with numbers, with letters?

Sheets("Sheet2").Cells(SokuteiItemRow, SokuteiItemColumn).Value =
Sheets("Sheet1").Cells(ItemRow, ItemColumn).Value

Thanks. Neil
 
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
Copying Text Cells MXG Excel Discussion (Misc queries) 4 November 7th 07 10:26 PM
copying cells with similar text Riptide Excel Discussion (Misc queries) 5 September 5th 07 02:18 PM
copying and holding certain cells in the function rwong520 Excel Discussion (Misc queries) 1 July 28th 06 06:47 PM
copying and holding certain cells in the function rwong520 Excel Discussion (Misc queries) 1 July 28th 06 06:20 PM
copying text between cells AD Excel Discussion (Misc queries) 3 July 20th 06 07:48 AM


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