+ Reply to Thread
Results 1 to 4 of 4

Move Cell Locatin in a Macro

  1. #1
    Registered User
    Join Date
    03-30-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2003
    Posts
    2

    Move Cell Locatin in a Macro

    Below is my the macro that I recorded. I want to copy and paste the same information to a new location everytime. The macro tells it to go to cell IV1, end left, then I want it to go right one cell regardles of the cell location. Here it tells it to got to ("K1"). It will do this everytime and I do not want it to go to K1, just move right one time and then paste the information.

    Please Login or Register  to view this content.
    Any Help will be appreciated
    Last edited by Excel Wanna Be; 03-30-2009 at 02:44 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Move Cell Locatin in a Macro

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-30-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Move Cell Locatin in a Macro

    I am a bit confused

    Right after code line "Selection.End(xlToLeft).Select" I want to move right one cell. What code do I enter where this once was "Range("K1").Select"

    Please Login or Register  to view this content.
    Thanks

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Move Cell Locatin in a Macro

    Replace
    Please Login or Register  to view this content.
    With the two lines of code I posted.

+ 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