+ Reply to Thread
Results 1 to 8 of 8

Need to add the cut function in the macro

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003
    Posts
    12

    Need to add the cut function in the macro

    Hello ,

    I need to cut the rows after I copied them in the new sheet (If Not foundTrue Then...)

    Does someone know how to add this function in the macro below and how to add a pop up window if everything is found :True ?

    Thanks in advance!


    ______________________________________________________________


    Please Login or Register  to view this content.
    Last edited by franciaul; 06-17-2014 at 05:21 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need to add the cut function in the macro

    Hi. Unfortunately your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-20-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Need to add the cut function in the macro

    Here you go!

    Sorry and Thanks

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need to add the cut function in the macro

    Hi,

    By cut do you really mean that you want to delete the rows or merely the contents of the cells?
    In which case then untested without the workbook

    If so then either

    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-20-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Need to add the cut function in the macro

    Hi Richard,

    Yes, I meant that I want to delete the rows in the sheet " Commence". Sorry, but where would you write the lineabove in my macro?

    Thanks for the help

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need to add the cut function in the macro

    Immediately after the Copy instruction would probably be the optimum place - certainly not before

  7. #7
    Registered User
    Join Date
    09-20-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Need to add the cut function in the macro

    and.. it works perfectly !!

    Thanks again!

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need to add the cut function in the macro

    Glad to have helped and thanks for the rep.

+ 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. Using the Find Function inside the Right function in macro
    By namruht in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-28-2013, 02:12 PM
  2. Macro exits prematurely from function after calling other function
    By LouisPhilippe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2013, 03:22 AM
  3. [SOLVED] Help : Macro Function - unable to apply filter function after macro the file.
    By Shermaine2010 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-05-2013, 12:50 AM
  4. Macro function Get Comment Text function with format
    By guynextdoor in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-28-2010, 01:08 AM
  5. Macro Function:create a new function
    By Tomas in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-09-2006, 07:55 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