Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default newbie ?: set variables, different shts, equal to each other

Terry,

You can, but isn't TestSrc and TestDest worksheet names in this case?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"terry b" wrote in message
oups.com...
Hey, Jim,
Thanks for simplifying things! Your suggestion does what I was trying
to do in line 6, but evidently when I included the 'Sheets' & 'Range'
properties I was clouding things up for no good reason.... One other
question: When referring to a variable such as TestSrc, can you use
"Range(TestSrc)"? Whenever I try to do that, I get this: "Run-time
error '1004': Method 'Range' of object '_Global' failed"....Can't you
use a variable name as an argument in 'Range'?
Again, thanks much for the help.
terry b.



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
How to Compare Rows on 2 shts .... Les Wegg Excel Discussion (Misc queries) 0 May 11th 05 03:25 PM
Newbie Macro Query - Clearing Variables and Assigning a Variable Mcneilius[_5_] Excel Programming 3 September 5th 04 11:10 AM
Randomize three variables subject to sum always equal to 1 emsfeld[_3_] Excel Programming 32 September 5th 04 10:18 AM
Randomize three variables subject to sum always equal to 1 mangesh_yadav[_49_] Excel Programming 0 August 31st 04 08:00 AM
Copying shts from one wbk to another jacqui[_2_] Excel Programming 2 July 25th 03 04:50 PM


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