+ Reply to Thread
Results 1 to 4 of 4

Select desired active cell after running the Macro

  1. #1
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Select desired active cell after running the Macro

    Hello,

    When I run the below macro, I have the ranges seleted after the row insertion.

    -> I would like to have active cell selected where I have inserted the row. Can you please help me?

    -> Also in my protection worsheet only allow the user to access to select unlocked cells, format cells. Would you know a way to protect the macro? I see that if I go to the Developer menu; Macros I can see and edit macros. Is there any way to disable that?

    HTML Code: 
    Many thanks,
    Graig

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Select desired active cell after running the Macro

    One way, maybe (untested):

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Re: Select desired active cell after running the Macro

    Thanks TMS. I got the error: Insert method of range class failed when running the macro.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Select desired active cell after running the Macro

    I haven't changed that.

    Regards, TMS

+ 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. After resulting the VBA, select the desired cell
    By Oxco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2013, 03:09 AM
  2. Select cell with mouse while running macro
    By kesse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-02-2006, 03:45 PM
  3. macro to find data and select from active cell to the last row
    By Lost in Alabama in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2006, 04:10 PM
  4. In VB macro how do I select range from active cell
    By spydor in forum Excel General
    Replies: 5
    Last Post: 12-29-2005, 07:15 PM
  5. How to show the active cell after running a macro?
    By shellshock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2005, 07:18 PM

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