Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7719383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:24:10+00:00 2026-06-01T03:24:10+00:00

I have a large data set that I’m working with in excel. About 1000+

  • 0

I have a large data set that I’m working with in excel. About 1000+ columns and close to 1 million rows.

My issue is that many of my numbers are formatted as text. To resolve this, I’ve been using the copy paste > add technique, adding a blank cell.

My problem is that I’m trying to macro this functionality, but I can’t figure out how to add a blank cell.

I tried to get crafty and have the macro create a new row, do the add, then delete that row. But, I can’t seem to get that to work either.

Anyone have a solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:24:12+00:00Added an answer on June 1, 2026 at 3:24 am

    The following code does what I was looking for.

    Sub psAdd()
    
        Dim x As Range 'Just a blank cell for variable
        Dim z As Range 'Selection to work with
    
        Set z = Cells
        Set x = Range("A65536").End(xlUp).Offset(1)
        If x <> "" Then
            Exit Sub
        Else
            x.Copy
            z.PasteSpecial Paste:=xlPasteAll, Operation:=xlAdd
            Application.CutCopyMode = False 'Kill copy mode
        End If
        x.ClearContents 'Back to normal
    
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large data set with 11 columns and 100000 rows (for example)
I have a very large possible data set that I am trying to visualize
I have a costumer showing Notepad with a large set of data that looks
Interpolating Large Datasets I have a large data set of about 0.5million records representing
I have a large data set of GPS collar locations that have a varying
I have a file that goes thru a large data set and splits out
I have a large data set that is updated once a day. I am
I have a large data set that I want to clean up for the
A newbie question from me, please. I have a large data set that I
I have a large data set and I would like to read specific columns

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.