vba cell reference
RH

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

VBA Cell reference

resolvedResolved · Low Priority · Version 2016

Martin has attended:
Excel VBA Introduction course
Excel VBA Intermediate course
Excel VBA Advanced course

VBA Cell reference

Is there a way to return cell references in terms of cells(x,y) where x and y are integers?

RE: VBA Cell reference

Hi Martin,

Thank you for the forum question.

The lines below will return the row number and column number as integers.

MsgBox ActiveCell.Row
MsgBox ActiveCell.Column



Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Wed 29 May 2019: Automatically marked as resolved.

 

Training courses

 

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Moving or Copying Sheets Between Workbooks in Excel 2010

Here's how to move or copy sheets between workbooks in Excel 2010:

Open the sheet you want to move or copy then on the Ribbon click the Home tab. Click Format. Under Organize Sheets, select the option Move or Copy Sheet and then choose where you want the sheet to be moved/copied to.

View all Excel hints and tips


Server loaded in 0.06 secs.