Active Cell in Excel Macros
Closed
bjwaggs
-
Oct 8, 2010 at 12:39 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Oct 8, 2010 at 10:34 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Oct 8, 2010 at 10:34 PM
Related:
- Active Cell in Excel Macros
- Macros in excel download free - Download - Spreadsheets
- Number to words in excel - Guide
- Gif in excel - Guide
- Marksheet in excel - Guide
- How to take screenshot in excel - Guide
1 response
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Oct 8, 2010 at 10:34 PM
Oct 8, 2010 at 10:34 PM
give the starting cell a variable name
eg.
dim r as range
setr=range("A1")
if A1 is the starting cell
subsequently you use r instead of A1
eg.
dim r as range
setr=range("A1")
if A1 is the starting cell
subsequently you use r instead of A1