
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Copy Current Cell Address to Other Location in Excel?
Generally, in Excel, we can copy the content of a cell easily just by using the copy and paste function. But have you ever tried to copy the cell address of one cell from another? We can use the steps mentioned in this. Even though we can complete the task simply by using formulas, there are times when we need to use some interesting methods with the VBA application.
Read this tutorial to learn how we can copy the current cell address to another location in Excel using the VBA application. We can copy the current cell address to other locations using the VB code mentioned in this tutorial.
Copy Current Cell Address to Other Location in Excel
Here we will first open the VBA application, insert a module, and finally run the code to complete the task. Let us look at a simple procedure for copying the current cell address to another location in Excel using the VBA application.
Step 1
Let us consider a new Excel sheet, and right-click on the sheet name and select View Code to open the VBA application.
Right click > View code
Then, in the VBA application, click on insert and select module, then type the following program code in the text box as shown in the image given below.
Insert > Module
Program
Sub AddressCopy() 'Updated By Nirmal Dim xSRg As Range Dim xDRg As Range On Error Resume Next Set xSRg = Application.InputBox("Select cell(s) to copy its address:", "Copy cell address", Selection.Address, , , , , 8) If xSRg Is Nothing Then Exit Sub Set xDRg = Application.InputBox("Select a cell to paste:", "Copy cell address", , , , , , 8) If xDRg Is Nothing Then Exit Sub xDRg(1).Value = xSRg.Address End Sub

Step 2
Then save the sheet as a macro-enabled workbook, click F5 to run the code, select the cell address or addresses you want to copy, and click OK, as shown in the below image.

Step 3
Then select the cell where you want to paste your result and click OK, as shown in the below image.

Conclusion
In this tutorial, we used a simple example to demonstrate how we can copy the current cell address to another location in Excel.
- Related Articles
- How to Copy Cell Format from One Cell (One Sheet) to Another Cell (Sheet) in Excel?
- How to Copy Cell Formula Only Not Formatting in Excel?
- How to Copy Cell without New Line Break in Excel?
- How to Auto Copy and Paste Cell in the Current Sheet or From One Sheet to Another in Excel?
- How to Copy Cell Above or Cell Left with Shortcut Key in Excel?
- How to Copy Cell as Text Value Not Formula in Excel?
- How to quickly jump to the cell with current date in Excel
- How to Automatically Copy a Cell to Clipboard with a Single Click in Excel?
- How to Copy a Column Based on Cell Value to Another Excel Sheet?
- How to copy items from one location to another location using PowerShell?
- How to use Location API in Android to track your current location?
- How to get row or column letter of the current cell in Excel?
- How to use Location API in Android to track your current location using Kotlin?
- How to get current Bluetooth address in android?
- How to get current location in android web view?
