+ Reply to Thread
Results 1 to 4 of 4

Is it possible to do a comm.button with scrolling caption /changing caption?

  1. #1
    Registered User
    Join Date
    07-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    69

    Is it possible to do a comm.button with scrolling caption /changing caption?

    Hi all
    Is it possible to do a comm.button with scrolling caption /changing caption?

    Like a comm.button that shows : report problem -> changing to: suggest new idea -> changing to: share knowledge. And the make this loop over and over again ? I should still be able to press the button a activate a send mail function . Is this possible at all ?

    Thanks in advance
    /jan
    Last edited by Lkivagten; 08-06-2012 at 10:17 AM.

  2. #2
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Lightbulb Re: Is it possible to do a comm.button with scrolling caption /changing caption?

    Hi,

    I think it is possible. Please check out provided workbook contained solution.
    Attached Files Attached Files
    Best Regards
    MaczaQ
    ---------------------------------------------------------------------------------------------------------------------------
    If you are satisfied with the solution(s) provided, please mark your thread as Solved
    If you are pleased with my answer consider to rate it. To thank someone who has helped you, click on the star icon below their name.
    - This way you will add him some reputation points ... thanks in advance.

  3. #3
    Registered User
    Join Date
    07-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    69

    Re: Is it possible to do a comm.button with scrolling caption /changing caption?

    Hi Maczaq

    Thanks for looking into this.

    Your excel file look excellent and is excactly what i was looking for. I have tried to build it into my excel file but cant get it to work.

    I have 2 userforms: one is called "SPID" and one is called "userform1" .

    The userform1 is the splashscreen and SPID is the main userform that shows up after the splashscreen and this is where i want the changing caption button to be.

    I only have one module called module1

    When i try to build in your code the best i can get is no errors but also no "caption changing commandbutton1" !?

    Can you help me out?

    Also.. if i may ask you that much...
    How do i get the splashscreen to start in the middle of the screen both horizontal and vertical ?

    And when i start up the program the first i see is the screen with my sheets (its mostly blue) and then the splashscreen and then the mainwindow (SPID) . Can i hide the sheetsscreen? - so only the splash screen is shown and then the main window? (looks more professional i think) .

    And last... Is it possible to get both the splashscreen and mainwindow to autofit different screens/ resloutions? ( i have made the program to fit my screen but i know that other users will have different screens/resolutions.. is this possible?

    I know this were alot of questions and i understand if its too much - and if so i would be very happy just to get changing caption commandbutton issue solved.

    I have uploaded an example picture and my excel file.

    Thanks in advance

    /Jan
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Lkivagten; 08-06-2012 at 05:56 AM.

  4. #4
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: Is it possible to do a comm.button with scrolling caption /changing caption?

    Hi,

    So,
    Quote Originally Posted by Lkivagten View Post
    The userform1 is the splashscreen and SPID is the main userform that shows up after the splashscreen and this is where i want the changing caption button to be.

    I only have one module called module1

    When i try to build in your code the best i can get is no errors but also no "caption changing commandbutton1" !?

    Can you help me out?
    /Jan
    I updated your file, so now it should works for your button i SPID userform (at the bottom of it's code there is an update).
    I also add one module 'moduleExcelForum' there is procedure for timer ;-)

    For your other questions I have only ideas becaue it is to big case for solve it for you.
    If you want to hide your sheets consider to use this property of Sheet. You can also hild as VeryHidden (unable to unhide from Excel; only by VBA).
    You can also make a XLT (excel addin). This kind of document have always all sheets hidden.

    You can center any userform using userform's property "StartUpPosition". There is setting for "CenterScreen" and for "Center Owner". You decide what is the best for You.

    Regarding resolution I can't give you any fast way. I have only one idea but it will be very hard. To check users resolution then re-build all controls using (width, height, top and left) You have quit complicated userform so it could be very hard to do. But I belive in You

    Cheers !
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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

X vBulletin 4.1.8 Debug Information

  • Page Generation 0.06154 seconds
  • Memory Usage 8,931KB
  • Queries Executed 15 (?)
More Information
Template Usage (33):
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_quote
  • (1)footer
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (4)navbar_noticebit
  • (6)option
  • (4)postbit_attachment
  • (4)postbit_legacy
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (4)showthread_bookmarksite
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper
  • (1)vbseo_linkbackmenu_entry 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (39):
  • ./vbseo.php
  • ./env.php
  • ./vbseo/includes/functions_vbseo.php
  • ./vbseo/includes/functions_vbseo_pre.php
  • ./vbseo/includes/functions_vbseo_url.php
  • ./vbseo/includes/functions_vbseo_createurl.php
  • ./vbseo/includes/functions_vbseo_db.php
  • ./vbseo/includes/functions_vbseo_vb.php
  • ./vbseo/includes/functions_vbseo_seo.php
  • ./vbseo/includes/functions_vbseo_misc.php
  • ./vbseo/includes/functions_vbseo_crr.php
  • ./vbseo/includes/functions_vbseo_cache.php
  • ./vbseo/includes/functions_vbseo_hook.php
  • ./vbseo/includes/functions_vbseo_startup.php
  • ./includes/config.php
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/functions.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/functions_cforum.php
  • ./includes/functions_facebook.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php
  • ./includes/functions_notice.php 

Hooks Called (47):
  • init_startup
  • friendlyurl_resolve_class
  • database_pre_fetch_array
  • database_post_fetch_array
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • fetch_musername
  • cache_templates
  • template_register_var
  • parse_templates
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • reputation_image
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • showthread_bookmarkbit
  • navbits
  • navbits_complete
  • showthread_complete


Search Engine Friendly URLs by vBSEO 3.6.0 RC 1