» Highlight a selected range with a MsgBox using VBA in Microsoft Excel
CATEGORY - Cells, Ranges, Rows, and Columns in VBA
VERSION - All Microsoft Excel Versions
Sub GetRange() Dim Rng As Range On Error Resume Next Set Rng = Application.InputBox(prompt:="Enter range",Type:=8) If Rng Is Nothing Then MsgBox "Operation Cancelled" Else Rng.Select End If End Sub
Book Store:
Recommended Books:
- Analyzing Markets, Products, and Marketing Plans
- Adventure Capitalist: The Ultimate Road Trip
- What the IRS Doesn't Want You to Know: A Cpa Reveals the Tricks of the Trade
- Rich Dad's Guide to Investing: What the Rich Invest in, That the Poor and the Middle Class Do Not!
- Infectious Greed: How Deceit and Risk Corrupted the Financial Markets
- Writing Excel Macros with VBA, 2nd Edition


After getting the value i have to compare both the rows in two sheets, and and equalise if chaged.
can anyone help with a macro.