+ Reply to Thread
Results 1 to 4 of 4

Select a certain cell(base on condition) once a form button is clicked.

  1. #1
    Registered User
    Join Date
    06-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    70

    Select a certain cell(base on condition) once a form button is clicked.

    The table is just a random data i found to use as an example. I want a code to be put on the macro to select cell B36 after clicking the button "East". Note that it will not be B36 anyore once i click West, it will be B42.

    Attachment 432778
    Attached Files Attached Files
    Last edited by miss_chloe; 11-29-2015 at 05:25 AM. Reason: excel file updated

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Select a certain cell(base on condition) once a form button is clicked.

    1 code for east en 1 for west


    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Select a certain cell(base on condition) once a form button is clicked.

    I forgot to enable macro on attachment excel file. Please see the one below.

    macro1.xlsm

  4. #4
    Registered User
    Join Date
    06-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Select a certain cell(base on condition) once a form button is clicked.

    Thank you very much. It works.

+ 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. Select spreadsheet after Contro Button clicked
    By Yoepy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2015, 09:59 PM
  2. select entire row of clicked cell in a table
    By hb316 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-19-2013, 11:29 AM
  3. [SOLVED] How to pop a form when clicked on cell
    By meprad in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-22-2013, 12:25 AM
  4. [SOLVED] Select column A's cell in relation to the row that macro button was clicked on?
    By xlyfe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-09-2013, 12:24 PM
  5. [SOLVED] Macro To Open A Hidden Worksheet When Button (Form Control) Is Clicked
    By obwales in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-25-2012, 12:55 AM
  6. Showing preset Worksheets when Cmd Button clicked in user form
    By niall4488 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 06-15-2011, 07:22 PM
  7. Using a Form Button to add 1 to a cell each time it is clicked
    By a.mack123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-14-2010, 03:16 AM

Tags for this Thread

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