Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Sienna Hughes   on Mar 08 In MS Office Category.

  
Question Answered By: Faeezah Khan   on Mar 08

I would also suggest setting Option Explicit.
If you do that it will tell you if you are using undeclared (or misspelt)
variables.


And move all your declarations (Dim and Const) to the top of the procedure.
It is very risky (IMO) using declarations inside a loop.

If you do put the declarations at the beginning you would need to make the
Consts ordinary variables (Dim) and then set the value of them inside the
loop.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on copying data from one sheet to another Or get search suggestion and latest updates.


Tagged: