Consulting

View Poll Results: How many buttons are working?

Voters
11. You may not vote on this poll
  • None

    0 0%
  • Only Forms button

    0 0%
  • Only Control Toolbox button

    2 18.18%
  • Both

    9 81.82%
Results 1 to 10 of 10

Thread: Test button function

  1. #1
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location

    Test button function

    How do buttons function in Excel if files are opened without downloading?
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  2. #2
    Administrator
    Chat VP VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    Hi Malcolm,

    I get a "macro not found" message for the forms button but the other works ok...

    Regards,
    John
    You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you

    The major part of getting the right answer lies in asking the right question...


    Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.

  3. #3
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    I ran Malcolm's file without downloading it and both buttons worked for me but I ran into a situation on the board where I posted a workbook with a userform and a forms button to open it....

    without downloading it the button did not work for the person on the board for some reason. Not only that but they said they ran the userform.show macro and the activex button on the form did not work either. All buttons worked correctly if they downloaded the excel file and ran it from their hard drive. Error:
    lucas I get 2 errors actually: 1) when I click on the "Form" button I get the following- "attachment.php?attachmentid=3492&d1152898232'!showform' cannot be found." and the form never displays 2) when I run the macro the form comes up and after entering a name and hit Add Info the following error comes up "Run-time error '1004':" "Method 'Range' of object'_Global'failed"
    http://vbaexpress.com/forum/showthread.php?t=8809
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  4. #4
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Both work for me, guys.
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  5. #5
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  6. #6
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    No issue here again, guys. (Wife's PC too)

    It's not an admin thing, or John would be having no errors either...
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  7. #7
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Works fine for me.

  8. #8
    I get a "macro not found" message for the forms button but the other works ok
    I get the same as John.

    Im using XP on broadband, Office 2000, Viewing with I.E.
    Dave
    "The game is afoot Watson"

  9. #9
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Both work for me as well. Do you think it makes a difference that your browser may need to have ActiveX control downloaded?

  10. #10
    Quote Originally Posted by firefytr
    Both work for me as well. Do you think it makes a difference that your browser may need to have ActiveX control downloaded?
    I don't know, when i come to this site i get a pop up that asks

    if i want to allow Active X Controls to run and i answer Yes.

    Any way i still get the:

    I get a "macro not found" message for the forms button but the other works ok

    I have always had to download xls files to get the macros to work.
    Dave
    "The game is afoot Watson"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •