online "excel 2000" for debugging

johnandbeth

Board Regular
Joined
Apr 8, 2002
Messages
168
Does anyone know of a place I can "use" excel 2000 online or download it so I can replicate a runtime macro error for a client?

Thanks much,
Beth
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I've cleaned up the code to this. Does this look right?

Sub Rectangle2_Click()
'
Range("D12:F13").Copy
Range("AC3:AE4").Select
ActiveSheet.Paste
Range("AE2").Select
Application.CutCopyMode = False
Selection.Copy
Range("AG2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("AG6:AH1941").Select
Application.CutCopyMode = False
Selection.Copy
Range("L7:M7").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Selection.Sort Key1:=Range("L7"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
Range("D7:F7").ClearContents
Range("D8:F8").ClearContents
Range("D9").ClearContents
Range("F9").ClearContents
Range("D12:F12").ClearContents
Range("D13:F13").ClearContents
Range("I3").Select
End Sub
 
Upvote 0
Beth

It looks better, but you're still using Select when it's not needed.

The first part could probably be condensed to this.
Code:
Range("D12:F13").Copy Range("AC3:AE4")
Range("AE2").Copy Range("AG2")
If you really need to paste special values.
Code:
Range("D12:F13").Copy
Range("AC3:AE4").PasteSpecial Paste:=xlPasteValues
Range("AE2").Copy
Range("AG2").PasteSpecial Paste:=xlPasteValues
 
Upvote 0
I think, in lieu of using PasteStecial as Values, a simple

range.value = range.value

would be better.
 
Upvote 0
Jon

That would be perfectly valid especially in this case where the ranges are the same size.
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

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