+ Reply to Thread
Results 1 to 3 of 3

Active cell switching Sheet

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-20-2013
    Location
    LX
    MS-Off Ver
    Office 2019
    Posts
    164

    Active cell switching Sheet

    Hello everyone,

    I'm just wondering if there is a way to force Excel when exit/changeing the active sheet to go back to a specific cell.

    Please see exemple
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: Active cell switching Sheet

    Yes there is.
    With a little macro in the sheet code. (right click on sheet name)
    for sheet 1
    Private Sub Worksheet_Activate()
    Application.Goto [A1]
    End Sub
    If it is the same for all sheets.
    In the ThisWorkbook module
    Private Sub Workbook_SheetActivate(ByVal Sh As Object)
        Application.Goto [A1]
    End Sub
    Last edited by dotchiejack; 03-29-2019 at 09:48 AM.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    08-20-2013
    Location
    LX
    MS-Off Ver
    Office 2019
    Posts
    164

    Re: Active cell switching Sheet

    Hi dotchiejack,
    Thanks for your reply, but not really what I need.
    Your code breaks my hyperlinks I have in the workbook, but maybe I was not clear enough with my request, so please find another file
    Attached Files Attached Files

+ 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. Keyboard shortcut for switching between a cell and a sheet.
    By spacedustpi in forum Excel General
    Replies: 1
    Last Post: 07-20-2017, 10:18 PM
  2. Avoid Switching Sheets, Reference Sheet Without Switching Instead.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2017, 06:59 PM
  3. Non active cell non active sheet copy row from cell refference.
    By _delete() in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2016, 02:36 AM
  4. [SOLVED] How to keep sheet1(output) active while searching sheet2(data) stop sheet switching
    By khhoa in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-14-2014, 08:18 PM
  5. [SOLVED] save active sheet in new workbook, naming it as cell value of active sheet
    By arkharova.s in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2014, 06:16 AM
  6. Userform in Excel 2013 disappears while switching an active workbook behind
    By blackarrow in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-17-2013, 09:08 AM
  7. Copy from active sheet and paste into new sheet using info from cell in active
    By Ingve in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2006, 06:00 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