Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy and paste special values only

Status
Not open for further replies.

tyone

MIS
Feb 27, 2004
22
US
i recorded a macro that shows what happens in the copy and paste and the macro shows you select rows with the following code:

rows("35:35").Select

if i am keeping count of the row using lngRow
isn't the following code the same.

rows(" & lngRow & ":" & lngRow &").select

but this will not work. it doesn't like the colon.
thanks for your help on this.

don
 
and this:

rows(lngRow & ":" & lngRow).select

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 



...and this, when there is only one row...
Code:
rows(lngRow).select

Skip,

[glasses] [red][/red]
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top