98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Using SET
Using SET
Resolved · Low Priority · Version 2003
carolina has attended:
Excel VBA Intro Intermediate course
Excel VBA Intro Intermediate course
Using SET
In which situation do you use SET when you using variables?
RE: Using SET
Hi Carolina
When you declare variables some variable types are Objects.
When assigning values to Object variables you need to Set the data. For example:
Non Object
Dim Counter As Integer
Counter = 1
Object
Dim MyRange As Range
Set MyRange = Range("A5:M500")
Hope this helps
Carlos
Thu 27 Nov 2008: Automatically marked as resolved.
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Removing border lines on the keyboardHighlight your cell(s) that have boreders on them and press CTRL + SHIFT + _, this will then remove the border lines. |