+ Reply to Thread
Results 1 to 3 of 3

Before double click open workbook populate textbox and select optionbutton

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    amsterdam
    MS-Off Ver
    2010
    Posts
    45

    Before double click open workbook populate textbox and select optionbutton

    Hi all,

    I have my macro almost working, but the last part I don't know how to fix, I hope some one can help me to solev my question.

    What I have is a data sheet (Workbook A) with all data, when I double click in column B on cell a other Unserform in workbook B get opend en de data of the cell in column B popultate the textbox in the userform.
    But now my question, when I double click on the cell column B, I like to use the cell data of column P of the same row to select a optionbutton in the userform of the other workbook.

    when column p contains (workbook A)

    "Hello" = select optionbutton 1 of the userform workbook B
    "Good" = select optionbutton 2 of the userform workbook B
    "cheers" = select optionbutton 3 of the userform workbook B

    Does some one know how to fix this last part?

    My code of workbook A:

    Please Login or Register  to view this content.
    My code of workbook B

    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,643

    Re: Before double click open workbook populate textbox and select optionbutton

    Try something like this...

    Please Login or Register  to view this content.
    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.

  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    amsterdam
    MS-Off Ver
    2010
    Posts
    45

    Re: Before double click open workbook populate textbox and select optionbutton

    Great, this is what i was looking for, last 3 weeks i've been testing and didn't get it. I am very grateful to you!

+ 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. double click open userform other workbook and populate textbox
    By remco77a in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-16-2021, 04:01 AM
  2. Textbox double click selection
    By antros48 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2019, 09:30 AM
  3. [SOLVED] ListBox Double Click not Adding to another TextBox
    By Chandria in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-24-2017, 04:11 AM
  4. [SOLVED] Have workbook open to default optionButton
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-04-2015, 09:21 AM
  5. Populate Excel Userform with Sheet names with double click to open the sheet ??
    By Shacker in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-08-2013, 03:54 PM
  6. Replies: 3
    Last Post: 08-10-2011, 02:02 PM
  7. Double Click will not open my Workbook
    By Stacy in forum Excel General
    Replies: 3
    Last Post: 04-13-2006, 02:10 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