Re: DECLARE VARIABLES PROBLEM
- From: ytayta555 <wherewindsmeet@xxxxxxxxx>
- Date: Wed, 19 Mar 2008 08:53:37 -0700 (PDT)
Also much of your code is inefficient, you should always try to avoid
selecting, so replace this type of statement:
Sheets("1").Select
Range("C22001:BB44005").Select
Selection.ClearContents
With:
Sheets("1").Range("C22001:BB44005").ClearContents
HTH
Michael
Thank you very much Michael , this really helped me !
The macro work with this faster ! Excuse me for late
feedback/reply .
Must be a bad morning, sorry typo in reposting:>>>existing code<<<
For i = 1 to 231
Set FromWks = Workbooks("YTA" & i & ".xls").Worksheets("sheet1")
Next i
Michael
This doesn't help me very much because the workbooks
are not open ;
Know somebady if it is posiblle to combin this
function (,,for ... to ") with ,,OPEN" Method ??
Thank ypu very much again and apologise for
late feedback .
.
- References:
- DECLARE VARIABLES PROBLEM
- From: ytayta555
- RE: DECLARE VARIABLES PROBLEM
- From: DownThePaint
- Re: DECLARE VARIABLES PROBLEM
- From: ytayta555
- Re: DECLARE VARIABLES PROBLEM
- From: michael.beckinsale
- Re: DECLARE VARIABLES PROBLEM
- From: michael.beckinsale
- Re: DECLARE VARIABLES PROBLEM
- From: michael.beckinsale
- DECLARE VARIABLES PROBLEM
- Prev by Date: RE: Help With BeforeDoubleClick
- Next by Date: Re: send mail without outlook
- Previous by thread: Re: DECLARE VARIABLES PROBLEM
- Next by thread: select the range with the cell's position is a variable.
- Index(es):