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

  • Home
  • SEARCH
  • 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 8951631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:42:30+00:00 2026-06-15T13:42:30+00:00

Suppose I have Sheet(1) in an excel. Now i do also have 2500 rows

  • 0

Suppose I have Sheet(1) in an excel. Now i do also have 2500 rows which has data for the columns from A to BO.Now I want the data to copy from these sheet to another sheet of the same Excel file for 2500 rows but not the whole the columns,rather i need only columns from A to AA data to copy to the new sheet.

So how to frame it using VBscript?

Please help me.

How to copy rows of from one sheet to another sheet using vbscript

  • 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-15T13:42:31+00:00Added an answer on June 15, 2026 at 1:42 pm

    To copy data from one sheet to another you can use the Copy en PasteSpecial commands. To do this with a .vbs script do the following:

    ' Create Excel object
    Set objExcel = CreateObject("Excel.Application")
    ' Open the workbook
    Set objWorkbook = objExcel.Workbooks.Open _
        ("C:\myworkbook.xlsx")
    ' Set to True or False, whatever you like
    objExcel.Visible = True
    
    ' Select the range on Sheet1 you want to copy 
    objWorkbook.Worksheets("Sheet1").Range("A1:AA25").Copy
    ' Paste it on Sheet2, starting at A1
    objWorkbook.Worksheets("Sheet2").Range("A1").PasteSpecial
    ' Activate Sheet2 so you can see it actually pasted the data
    objWorkbook.Worksheets("Sheet2").Activate 
    

    If you want to do this in Excel with a VBS macro you can also call the copy and paste methods. Only your workbook object will be something like ActiveWorkbook

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some strings in Java (originally from an Excel sheet) that I presume
I want to automatically sort fields in excel when entering new data. Suppose I
I have an excel sheet with values in columns A, B and C like
I have data in one sheet in a workbook. I want to distribute it
So I have this Excel workbook which basically is supposed to be a data
I have data that I want to have written into a Microsoft Excel File.
Suppose I have a class Baz that inherits from classes Foo and Bar ,
Suppose I have two h:inputText components. I want to bind both of the text
I have the code below which works fine, steps through the rows pinging each
I have a number of single sheet Excel files and I'd like to create

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.