excel+training - offset
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 Training and help » excel+training - Offset

excel+training - Offset

resolvedResolved · Low Priority · Version Standard

replyReply Tue 20 Nov 2007, 16:27Delegate Belinda said...

Belinda has attended:
Excel VBA Intro Intermediate course

Offset

How does offset work and is it more efficient than using using variables to pick out cells?

For upcoming training course dates see: Pricing & availability

replyReply Wed 21 Nov 2007, 16:50Trainer Carlos said...

RE: offset

Belinda

The Offset property of a range is most commonly seen when a macro is recorded using Relative reference.

It enable the user to manipulate a cell based off the location of the active cell.

The syntax is

Range.OffSet (RowOffset, ColumnOffset)

eg

Range ("A1").OffSet (4,5)

If you need to know at any given moment the cell you are manipulating then you need to use a variable as a indicator of the cells address.

eg

Dim Row as Integer

Cells(Row,5).Copy

Hope this helps.

Carlos

 

Excel tip:

Showing all menu items

If you go into a pull down menu you usally find that you get a selection of items(this is the default) or sometimes everything. If you only get a selectiopn you have to go to the double arrows at the bottom of the menu and click it to get all of the hidden items.
To turn this off so that you always get everything, go to Tools / Customize / Options Tab / "Always show full menus". Make sure there is a tick in the box and you will always have every item.

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