+ Reply to Thread
Results 1 to 2 of 2

Disable commandbutton if Label and Multipage index is..

  1. #1
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Disable commandbutton if Label and Multipage index is..

    Hello,


    I have a label which is set to the current day. I have also a multipage consisting of 5 pages (Monday-Friday)
    Every pages has a commandbutton.

    What i want to accomplish is to disable the commandbutton if Label1.Caption is not equal to the multipage index.

    for example: I'm in the Friday Page and the current day today is Tuesday (in Label1.Caption) then the commandbutton in the Friday,Monday,Wednesday and Thursday page should be disabled.

    Thanks in advance experts!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Disable commandbutton if Label and Multipage index is..

    Hello,
    Are you refering to a userform?

    Maybe supply a sample workbook with the userform.

+ 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] Disable commandbutton
    By siobeh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-04-2014, 08:35 AM
  2. [SOLVED] Disable multipage
    By momosmile in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2012, 12:10 PM
  3. multipage with in the userform to data on a label
    By nodacrunch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2012, 05:50 PM
  4. Disable a CommandButton
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-22-2011, 12:07 PM
  5. Collection of label in a Multipage
    By Bernard Bourée in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2006, 03:25 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