excel.advanced.course - change objects property
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and Help » excel.advanced.course - Change an Object's Property

excel.advanced.course - Change an Object's Property

The UK's most regular instructor-led training courses.
Training information: excel.advanced.course · Excel/courses/london · VBA courses London UK

resolvedResolved · Low Priority · Version Standard

Change an Object's Property

Neil has attended:
Excel VBA course

by - delegate Neil [1 post] (2008 Jan 18 Fri, 09:46) replyReply

When can I just use code like:

Object = Value

and when do I need to use code like:

Set Object = Value

I'm not sure which applies in which case. Thanks!

Excel Intermediate 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003/XP 2008 Aug 21 Thu Bloomsbury 0 FULL    
2003/XP 2008 Aug 21 Thu Bayswater 2 book now £195 £205
2003/XP 2008 Aug 28 Thu Southwark 0 FULL    
2003/XP 2008 Aug 29 Fri Tooting 0 FULL    
2003/XP 2008 Sep 2 Tue Bloomsbury 4 book now £207 £215
2003/XP 2008 Sep 4 Thu Bayswater 5 book now £195 £205
Full Schedule: See all 141 Excel Intermediate course dates.
Bookings currently available until 25th November 2009.

RE: Change an Object's Property

by - trainer Stephen gold contributer[326 posts] (2008 Feb 9 Sat, 11:16) replyReply

Hi Neil

Thank you for your question

Simply put when you a assigning a value to an excel object then you must use the set command. So if you are naming a workbook, worksheet, range or other similar object use the set command.

however, if you are assigning a value to a simple variable then just use the variable = value syntax

Regards

Stephen


Related articles

· What's Better Than the Help Function in Excel? Microsoft Training
· Microsoft Excel Training: Essential for Today's Employees
· Database Tips from an Excel Training Course
· Excel Macros for the Non-Programmer
· 5 Microsoft Excel Charts for Creating Stunning Business Documents

Excel tip:

Removing custom dictionary entries

If you add something to the custom dictionary in Excel you cannot remove it. The way to get around this is to go into word and remove it there.

View all Excel hints and tips

Institute of IT Training - Accredited Training Provider Institute of IT Training - Accredited Training Provider Prodigy Platinum Learning Partner Microsoft Office Specialist Authorised Testing Centre

Microsoft Registered Partner
microsoft office
ms office project server

Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz