+ Reply to Thread
Results 1 to 11 of 11

Cut And Paste Function

  1. #1
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Cut And Paste Function

    Is there a function to cut a cell and then paste that cell to another cell?

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Cut And Paste Function

    Ctrl + X
    Go to another cell
    Ctrl + V
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: Cut And Paste Function

    How can i insert that in a formula?

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Cut And Paste Function

    It is not possible to do that using the built-in worksheet functions.

    I'm not sure if that's even possible with a VBA user defined function.

    Let me see if I can attract the attention of some of the VBA programmers.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Cut And Paste Function

    Excel formulas and functions cal only run calc's/tests, they cannot affect other cells, and they cannot cut and paste anything, anywhere. You could probably record a macro that will do that for you, if it is a standard operation that you do frequently
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Cut And Paste Function

    I'm technically not the worst programmer on the board. Maybe I can help.

    Are you trying to copy the cell's formula from point A to point B, or just a given cell's value?

    Here's an example pulling the cell formula.

    Please Login or Register  to view this content.
    In any given cell on the worksheet, just type PullFrom followed by the cell reference. PullFromB3 would instantly transport B3 to current cell.
    Last edited by daffodil11; 05-14-2015 at 06:00 PM.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Cut And Paste Function

    It works in VBA but not on the sheet:

    Please Login or Register  to view this content.
    Here's how I tested it:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  8. #8
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: Cut And Paste Function

    Quote Originally Posted by daffodil11 View Post
    I'm technically not the worst programmer on the board. Maybe I can help.

    Are you trying to copy the cell's formula from point A to point B, or just a given cell's value?

    Here's an example pulling the cell formula.

    Please Login or Register  to view this content.
    In any given cell on the worksheet, just type PullFrom followed by the cell reference. PullFromB3 would instantly transport B3 to current cell.
    just the value.

  9. #9
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: Cut And Paste Function

    Actually what I want to do is it;

    I want to transfer my data stored in MS Word files into MS Excel. MS Word data include two column. I've written the second column after a couple of column gap by pressing TAB.

    When I copy-paste the MS Word Data to Excel second column elements don't occupy on the second column rather third, fourth or fifth column.

    I want to write a function or macro to cut-paste them onto 2nd column in excel.

  10. #10
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: Cut And Paste Function

    I created a special cut and paste macro which;

    1) find the latest used columns in a row

    2) then cut those and paste on B column respectively

    it gets error as you see. What's wrong? How to fix it?
    Attached Files Attached Files

  11. #11
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Cut And Paste Function

    Hi Zanshin,

    Just a small alteration or two

    Please Login or Register  to view this content.
    Last edited by xladept; 10-20-2015 at 04:10 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Need to modify the Paste function of this VBA Macro from "Paste" to "Paste Special Values"
    By zicitron in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-04-2013, 03:44 AM
  2. [SOLVED] Repeat Cut & Paste function with Range.offset function VBA
    By kitcargray in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2012, 12:17 PM
  3. Paste Function
    By GovExcel2000 in forum Excel General
    Replies: 4
    Last Post: 02-16-2010, 06:05 PM
  4. Paste Function Value
    By carlyman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2005, 12:52 PM
  5. Paste function
    By SteveG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2005, 09:24 AM

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