Paste and Compare

DPWVPA

New Member
Joined
Jul 14, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I set up a workbook so that I can paste information on two separate worksheets in that same workbook and verify that the two sheets are exactly the same. My problem is that some of the cells show up with the green arrow errors in which I have turned off that function but they still show as being different when the sheets are compared. I figured out that I can use text to columns to fix the issue. I put the text to columns function in the macro to run before it compares the two sheets. Is there a way to skip columns that have no data or is there a better way to do this?
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I figured out something that works. Since text to columns does what I need to do, I used On Error Resume Next which skips the blank columns. Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,413
Members
449,082
Latest member
tish101

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top