Dim a As Range, b As Range
Set a = Selection
For Each b In a.Rows
MsgBox b.Address
Next
More Related Contents:
- How can I call a macro which contains a loop but only run one iteration of that loop?
- Code for looping through all excel files in a specified folder, and pulling data from specific cells
- Excel: the Incredible Shrinking and Expanding Controls [closed]
- using a sheet in an excel user defined function
- Sequence of numbers based on start and end value of 2 cells [closed]
- How do I find the last column with data?
- How to insert a picture into Excel at a specified cell position with VBA
- Save multiple sheets to .pdf
- Having multiple Excel instances launched, how can I get the Application Object for all of them?
- How can I create a calendar input in VBA Excel?
- Using Google Chrome in Selenium VBA (Installation Steps)
- Merge values of column B based on common values on column A
- How to import a table from web page (with “div class”) to excel?
- Range limit conundrum
- How do you run a .exe with parameters using vba’s shell()?
- How to determine the last Row used in VBA including blank spaces in between [duplicate]
- Passing variable from Form to Module in VBA
- How to give a time delay of less than one second in excel vba?
- Changing the date format to yyyy-mm-dd
- Outputting Excel rows to a series of text files
- How to create a range from two ranges in VBA?
- XML parse VBA excel (function trip, & MSXML2.DOMDocument)
- If string contains word from list, return value adjacent to list value
- every possible combination of the contents of 2 columns in excel
- excel vba freeze pane without select
- Converting a string representation of a constant into a constant?
- Excel VBA – select multiple columns not in sequential order
- How to check whether certain sheets exist or not in Excel-VBA? [duplicate]
- Excel – Using COUNTIF/COUNTIFS across multiple sheets/same column
- Excel telling me my blank cells aren’t blank