+ Reply to Thread
Results 1 to 9 of 9

move to the sheet only in certain cells

  1. #1
    Forum Contributor
    Join Date
    10-31-2018
    Location
    venezia
    MS-Off Ver
    2007
    Posts
    487

    move to the sheet only in certain cells

    To move only in the yellow cells starting from number 1 (cell K7) and then in number 2 etc .. you have to do it manually
    With a macro is it possible?
    I attach an example
    Thank you
    john
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: move to the sheet only in certain cells

    Right Click On Your Sheet Name At the Bottom Of Excel and Select View Code
    Paste this code in the module that opens and close it.

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Contributor
    Join Date
    10-31-2018
    Location
    venezia
    MS-Off Ver
    2007
    Posts
    487

    Re: move to the sheet only in certain cells

    Hello
    thanks mehmetcik works well just a problem.
    Now with the tab it moves only in the cells indicated in the macro
    the problem is there are other cells where you have to work
    john

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: move to the sheet only in certain cells

    So explain exactly what you want it to do.


    Maybe this version

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 03-11-2019 at 05:48 PM.

  5. #5
    Forum Contributor
    Join Date
    10-31-2018
    Location
    venezia
    MS-Off Ver
    2007
    Posts
    487

    Re: move to the sheet only in certain cells

    error 13 type mismatch

    If Pos >= UBound(MyArray) Then Exit Sub

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: move to the sheet only in certain cells

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 03-11-2019 at 06:22 PM.

  7. #7
    Forum Contributor
    Join Date
    10-31-2018
    Location
    venezia
    MS-Off Ver
    2007
    Posts
    487

    Re: move to the sheet only in certain cells

    no more error but it is the same as the first macro

  8. #8
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: move to the sheet only in certain cells

    I don't think so.

    After cell 31 you can select any cell.

  9. #9
    Forum Contributor
    Join Date
    10-31-2018
    Location
    venezia
    MS-Off Ver
    2007
    Posts
    487

    Re: move to the sheet only in certain cells

    Hi mehmetcik
    I have now seen the difference between the 2 macros.
    Tomorrow I try the macro in the my office.
    Thank you
    john

+ 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] Macro to move cells in 2 rows after word criteria to specific cells in other sheet
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-20-2018, 11:41 AM
  2. Move a row to a new sheet based on a cells value.
    By jgroathouse in forum Excel General
    Replies: 6
    Last Post: 10-31-2014, 06:49 PM
  3. [SOLVED] Automatically move cells from sheet 1 to sheet 2
    By sealpino in forum Excel General
    Replies: 1
    Last Post: 12-03-2012, 06:20 PM
  4. Move cells from ne sheet to another
    By Floliito in forum Excel General
    Replies: 2
    Last Post: 11-01-2012, 12:43 AM
  5. Move a range of cells to another sheet
    By bowhunt24 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-09-2011, 07:32 PM
  6. How to move cells with a certain value to another sheet
    By s_twigge in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-12-2011, 10:20 AM
  7. Macro To Move Odd cells to another sheet
    By srinivasanb4u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-16-2008, 08:07 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