logo
search
list

Table of Content

Problem Description: Macro Copy Range Of
Quick Answer for Excel Quick Fix
Likely Causes Behind Office Failure Patterns
Recommended Solution: Restoring Office After Errors
Alternative Solutions for Fallback Options for Excel
Working with WPS Office: Editing Files in WPS During Excel
Prevention Tips for Smooth Office Device Transfers
FAQs About Excel Help Topics

Easily Resolve Macro Copy Range Of in Office

Posted by Algirdas Jasaitis

calendar

2026-09-17

views

868

likes

59

This guide walks you through excel & data problems using Microsoft-supported steps first, with WPS only where it genuinely helps.

Problem Description: Macro Copy Range Of

So I have a range of cells X30:AD34 containing Id#, Name, Ave, Handicap Pins, Score, Score with Handicap Pins, Rank. I want to exclude those ranked 1 (could be ties) and copy the others, but only ID#, Name, Ave, Score to A44:E47. So that would be X,Y,Z,AB columns to A,B,C,E columns. Then from Range X22:AD24 I want to exclude those ranked 1 or 2 and copy the other (could be no one due to ties) to A48:E48 A couple of notes since I'm not copying Handicap Pins I can rearrange my columns so Score follows Ave taking out the skipped column if that's easier. Also none of my ranges are defined as tables, not sure if that would help the process? ![Screenshot 2026-01-06 175314](/api/attachments/226d2b94-afee-423f-8585-77275481dc7c?platform=QnA)

Screenshot of the reported issue
Screenshot of the reported issue

Quick Answer for Excel Quick Fix

Hello, I tried to write a macro for you, I think it should do everything you requested.

Likely Causes Behind Office Failure Patterns

  • The Microsoft account or license context may not match the purchase or device.

  • Cached credentials, outdated builds, or damaged local components can trigger excel & data problems.

  • A file-specific corruption or add-in conflict can mimic a broader application failure.

Recommended Solution: Restoring Office After Errors

When to use this: Apply these steps when the symptoms match and you can access the relevant Microsoft account or administrator.

  1. Please test in on a **copy** of your file first and let me know if something's off! ```vba Option Explicit Sub CopyBracketPicks() Dim ws As Worksheet Set ws = ActiveSheet 'Source row bounds Const src1FirstRow As Long = 30 Const src1LastRow As Long = 34 Const src2FirstRow As Long = 22 Const src2LastRow As Long = 24 'Source columns Const colID As String = "X" 'ID# Const colName As String = "Y" 'Name Const colAve As String = "Z" 'Ave Const colScore As String = "AB" 'Score Const colRank As String = "AD" 'Rank 'Prepare destinations ws.Range("A44:E47").ClearContents ws.Range("A48:E48").ClearContents Dim r As Long Dim destRow As Long destRow = 44 For r = src1FirstRow To src1LastRow If Val(ws.Range(colRank & r).Value) <> 1 Then ws.Range("A" & destRow).Value = ws.Range(colID & r).Value ws.Range("B" & destRow).Value = ws.Range(colName & r).Value ws.Range("C" & destRow).Value = ws.Range(colAve & r).Value 'Leave D blank on purpose ws.Range("E" & destRow).Value = ws.Range(colScore & r).Value destRow = destRow + 1 If destRow > 47 Then Exit For End If Next r Dim copied As Boolean copied = False For r = src2FirstRow To src2LastRow If Val(ws.Range(colRank & r).Value) > 2 Then ws.Range("A48").Value = ws.Range(colID & r).Value ws.Range("B48").Value = ws.Range(colName & r).Value ws.Range("C48").Value = ws.Range(colAve & r).Value 'Leave D48 blank on purpose ws.Range("E48").Value = ws.Range(colScore & r).Value copied = True Exit For End If Next r End Sub ``` Put this in a standard module, then run `CopyBracketPicks`.

  2. If you later rearrange your columns, just update the constants `colID`, `colName`, `colAve`, `colScore`, and `colRank` at the top to match the new letters.

  3. The code uses values only, so it will not carry formats or formulas into the target.

100% secure

Alternative Solutions for Fallback Options for Excel

  1. Retry the Microsoft-side steps after restarting the app and device.

  2. Test the same action in a private browser session or a new blank file to isolate account vs file issues.

  3. Capture exact error text and screenshots before contacting Microsoft Support or your administrator.

Working with WPS Office: Editing Files in WPS During Excel

WPS Writer word processor interface
WPS Writer — create and edit Word-compatible documents for free.

WPS Office cannot replace Microsoft account, activation, or cloud fixes for this scenario. It remains one of the best free Microsoft Office-compatible alternatives for opening and editing local files.

  1. Download and install WPS Office from the official website.

  2. Open local Word, Excel, PowerPoint, or PDF files in the matching WPS app.

  3. Save a working copy locally while Microsoft-side issues are resolved.

  4. Return to Microsoft Office after the primary fix succeeds.

If you need a practical local workspace in the meantime, try WPS Office.

Prevention Tips for Smooth Office Device Transfers

  • Keep one primary Microsoft account for subscriptions and Office sign-in.

  • Install updates for Office and Windows before retrying failed workflows.

  • Back up important files before repair, reset, or reinstall actions.

  • Document exact error messages before the next troubleshooting attempt.

100% secure

FAQs About Excel Help Topics

Can WPS Office fix this excel & data problems issue directly? Only when the WPS steps match the formatting or file task. Account, activation, and cloud issues stay on the Microsoft side.

Should I reinstall Office before trying these steps? Not first. Confirm account, license, and the exact error before reinstalling.

What should I send to Microsoft Support? The affected account email, device type, Office version, exact error text, and screenshots with personal data hidden.

Algirdas Jasaitis

15 years of office industry experience, tech lover and copywriter. Follow me for product reviews, comparisons, and recommendations for new apps and software.