+ Reply to Thread
Results 1 to 3 of 3

VBA code help - Command button location (Excel2011)

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    Singapore
    MS-Off Ver
    Office 365 online
    Posts
    16

    Question VBA code help - Command button location (Excel2011)

    Hi Forums,

    I have delved into VBA for excel, learning quickly but not quite fast enough.

    I am building a code based on a command button in a row, which will check is a worksheet exists (message), if not create a worksheet from a template (from another worksheet specific to a on a cell value in the same row), rename the worksheet based on a cell value in the same row.

    I am having some success for each task with exception to relative cell values .....

    As the code will be specific to the row (one button per row) Questions:

    how to i determine the location of the button that is clicked? (I assume once this is established i can use to pull values in the same sheet on certain columns....?)

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: VBA code help - Command button location (Excel2011)

    I think this might help. You are using controls from the Forms menu, if you are on a Mac.
    Please Login or Register  to view this content.
    The Object Browser is an on-board help. Looking through the properties of an object will help you find the properties available.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    03-12-2014
    Location
    Singapore
    MS-Off Ver
    Office 365 online
    Posts
    16

    Re: VBA code help - Command button location (Excel2011)

    ill give this a try- appreciated

+ 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. [SOLVED] command button: specified sheet copy and save as new workbook to specified location
    By Zlatko.Pan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2013, 12:28 PM
  2. [SOLVED] Excel Command Button: Location hopping using row number.
    By Ataraxicatom in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-18-2012, 03:46 AM
  3. Row Command button location
    By GCoder1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-18-2007, 12:12 AM
  4. Macro based on command button location?
    By mattylance in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2006, 07:15 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