» 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:
- Excel Charts
- Rich Dad's Guide to Investing: What the Rich Invest in, That the Poor and the Middle Class Do Not!
- Financial Shenanigans : How to Detect Accounting Gimmicks & Fraud in Financial Reports
- MP Managerial Accounting w/ Topic Tackler, Net Tutor, & PowerWeb
- Managing by the Numbers: A Commonsense Guide to Understanding and Using Your Company's Financials: An Essential Resource for Growing Businesses
- Financial Peace: Revisited


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.