+ Reply to Thread
Results 1 to 7 of 7

Delete All, Paste and Delete A Row

  1. #1
    Registered User
    Join Date
    03-20-2013
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    7

    Thumbs up Delete All, Paste and Delete A Row

    Here is what I am trying to accomplish.

    1) Open two spreadsheets
    2) Copy All on the first one
    3) Go the second one
    4) Delete the workeheet (OutcomesXL)
    5) Move the cursor to A1
    6) Paste the copied text and formulas
    7) Select Row A
    8) Delete Row A
    9) Save the worksheet
    10) Close the Worksheet

    I am trying to combine two macros. Individually, they work. Combined they don't. I do not have #10 included in the VBA.

    Please Login or Register  to view this content.
    Any help on this? Thanks.
    Last edited by arlu1201; 06-05-2013 at 07:51 AM. Reason: Use code tags in future.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Delete All, Paste and Delete A Row

    You are copying the formulae to A1, so why do you want to delete column A?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-20-2013
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Delete All, Paste and Delete A Row

    It has totals in it. I want Row B to be my header row.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Delete All, Paste and Delete A Row

    Do you have some sample files that you can upload?

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.

  5. #5
    Registered User
    Join Date
    03-20-2013
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Delete All, Paste and Delete A Row

    No. It's confidential information. Can you still help me?

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Delete All, Paste and Delete A Row

    You do not need to upload the real file. Just upload a sample as long as the format matches the original..

  7. #7
    Registered User
    Join Date
    03-20-2013
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Delete All, Paste and Delete A Row

    Here is a test file.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1