+ Reply to Thread
Results 1 to 2 of 2

command button caption

  1. #1
    Forum Contributor
    Join Date
    06-27-2014
    Location
    bristol, england
    MS-Off Ver
    excel 2007
    Posts
    264

    command button caption

    Hi all, I am using the code below, to pick up cell entries, and show them on command buttons, it works to a degree
    the commandbutton1 caption shows, but only when I enter target value as 2, commandbuttons 1 and 2 show correct when I enter target value as 3, and so on, can anyone see what I have got wrong in the code please

    scouse13


    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,652

    Re: command button caption

    Is there a formula in D10:D14 ? If yes, the code is clearing the formula.

    Otherwise, I don't follow the description of the problem.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. naming Command Button caption in VBA
    By milo1984 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2016, 11:45 AM
  2. Setting Command Button caption
    By pjwhitfield in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-06-2014, 05:11 PM
  3. Command Button Caption
    By tapsmiled in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-23-2014, 09:57 PM
  4. Command Button Caption distortion
    By rboote in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2008, 11:01 AM
  5. Command Button Caption Wrap
    By DCSwearingen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-27-2008, 10:09 AM
  6. [SOLVED] changing the caption of a command button
    By JWCrosby in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2005, 04:15 PM
  7. [SOLVED] Command Button Caption
    By Qaspec in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2005, 12:06 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