rc
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » R1C1

R1C1

resolvedResolved · Urgent Priority · Version 2007

replyReply Tue 1 Nov 2011, 16:07Delegate Suraj said...

Suraj has attended:
Excel VBA Intro Intermediate course

R1C1

Why do we need to use R1C1? Whats the advantage?

For upcoming training course dates see: Pricing & availability

replyReply Fri 4 Nov 2011, 17:47Trainer Rodney said...

RE: R1C1

Hello Suraj,

Hope you enjoyed your Microsoft Excel VBA course with Best STL.

Thank you for your question regarding the use of R1C1.

Did you know that under the hood Excel always uses the R1C1 style... whenever you create a macro you will notice that the code is in the R1C1 style and it is always useful if you know how to read this notation.

When creating code, you don't always have to use this style, but, in many cases it will decrease the amount of code you write. Here are a few reasons why you may want to use this style:

1) It is easier to enter many formulas using this style thus making the formulas more efficient in VBA. You can enter the same formula in an entire range of data in a single sentence.

2) Conditional formatting requires this style in order to work reliably.

3) Array formulas require this style.

As you are no doubt intending to progress with Excel VBA it will be beneficial if you buy yourself a book on the subject. A website to find books for this is MrExcel.com

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Rodney
Microsoft Office Specialist Trainer

Fri 11 Nov 2011: Automatically marked as resolved.

 

Please browse our web site to find out more about
excel training course london and other Microsoft training courses.

Excel tip:

Hide data in Excel Worksheets

Let's say you have some data in cell 'C5' you would like to hide from the casual viewer.

Click cell 'C5' to select it.

Click the 'Format' menu, select 'Cells'. When the 'Format Cells' dialogue box opens, click the 'Numbers' tab (if necessary), then select 'Custom' from the 'Category' list.

Double-click the 'Type' entry box and type three semi-colons: ";;;"

Click 'OK' to close the dialogue box and accept the new formatting.

The data in cell 'C5' disappears. It's still there and will work in calculations, but it isn't visible.

If you need to check the data, just click the blank cell and the contents appear in the 'Formula bar'.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard