+ Reply to Thread
Results 1 to 3 of 3

Offset reference to a button

  1. #1
    Registered User
    Join Date
    03-12-2022
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    95

    Offset reference to a button

    Hello,

    I have a button that runs a code and also timestamps. I am wanting timestamp to show in a cell that is relative to the button (cell to the right). I only see codes that are relative to a particular cell but not a button......

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Offset reference to a button

    Hi, all you need to do is detect the cell the button is in sometime the left top corner and that tells you the address i=of that cell and then just fill in or calculate the offiset
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,220

    Re: Offset reference to a button

    As part of the test, assign the following macro to the button:
    Please Login or Register  to view this content.
    Artik

+ 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. Indirectly reference the reference argument of an OFFSET function
    By disi_sikhondze in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-26-2020, 12:42 PM
  2. ActiveX Control Spin Button Copy Button and Change Cell reference?
    By chrstphrbllngs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2016, 04:01 PM
  3. Replies: 2
    Last Post: 03-02-2016, 07:05 AM
  4. Need help with OFFSET for 2 reference
    By Akbaruu in forum Excel General
    Replies: 3
    Last Post: 10-17-2015, 01:26 AM
  5. Find and Offset Next Button
    By SamuelJackson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2014, 02:15 PM
  6. A button that creates a button that calls an offset macro
    By Jon.R in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-03-2011, 11:01 AM
  7. Offset Reference
    By matt4003 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-29-2005, 10:09 PM

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