Results 1 to 14 of 14

How to launch macro or other userform after command button.

Threaded View

Karkas How to launch macro or other... 04-06-2009, 06:28 PM
mewingkitty Re: How to launch macro or... 04-06-2009, 07:22 PM
Trebor76 Re: How to launch macro or... 04-06-2009, 07:24 PM
mewingkitty Re: How to launch macro or... 04-06-2009, 07:29 PM
Karkas Re: How to launch macro or... 04-06-2009, 07:31 PM
mewingkitty Re: How to launch macro or... 04-06-2009, 07:40 PM
Karkas Re: How to launch macro or... 04-06-2009, 07:43 PM
Karkas Re: How to launch macro or... 04-06-2009, 07:47 PM
Karkas Re: How to launch macro or... 04-06-2009, 07:41 PM
Trebor76 Re: How to launch macro or... 04-06-2009, 07:47 PM
  1. #1
    Registered User
    Join Date
    04-03-2009
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    15

    How to launch macro or other userform after command button.

    I want to launch userform A when the user hits the command button on userform B, I already have a macro set up to launch UserForm A and tried adding it to the code but it doesn't work.

    This is what I have
    Private Sub CommandButton1_Click()
    Worksheets("Patient").Range("B9").Value = TextBox1.Value
    Worksheets("Patient").Range("B10").Value = TextBox2.Value
    Worksheets("Patient").Range("B11").Value = TextBox3.Value
    Worksheets("Patient").Range("B15").Value = TextBox4.Value
       End Sub
       
    Sub Vanco_Sticker()
    Patient_info.Show
    End Sub
    What needs to be fixed or is there a way to just launch the other userform without trying to fire macro?

    Thanks in advance!

    P.S. I also posted this here
    Last edited by Karkas; 04-06-2009 at 07:51 PM. Reason: Cross post info added

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1