+ Reply to Thread
Results 1 to 9 of 9

Coding Checkbox return value from another location

  1. #1
    Registered User
    Join Date
    09-04-2015
    Location
    milwaukee
    MS-Off Ver
    2013
    Posts
    14

    Coding Checkbox return value from another location

    I am trying to make an input form that when a box is checked the value of the cell automatically displays a value from another. However when the box is not checked the value allows for a user input. If i put a code in this field to = value from another then when the user inputs a value they would overwrite the code. Please help!

    help.JPG

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Coding Checkbox return value from another location

    Cells can have either a formula or manual input, not both. You need a macro but you didn't post a workbook.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    09-04-2015
    Location
    milwaukee
    MS-Off Ver
    2013
    Posts
    14

    Re: Coding Checkbox return value from another location

    Client Info.xlsx

    Sorry, here is the attachment

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Coding Checkbox return value from another location

    I'm sorry, I get an error opening your file, I'm using XL@007 v 2013. What kind of checkbox are you using in G1 (is is an ActiveX)?

  5. #5
    Registered User
    Join Date
    09-04-2015
    Location
    milwaukee
    MS-Off Ver
    2013
    Posts
    14

    Re: Coding Checkbox return value from another location

    No it is just a form control, I am not very familiar with coding and I am trying to learn

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Coding Checkbox return value from another location

    double post deleted...
    Last edited by protonLeah; 09-13-2015 at 09:45 PM.

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Coding Checkbox return value from another location

    The macro below is used for the checkbox, the checkbox is linked to cell G1.
    If the CB is checked then the shipping info is copied, if it is cleared the info is cleared:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by protonLeah; 09-13-2015 at 09:45 PM.

  8. #8
    Registered User
    Join Date
    09-04-2015
    Location
    milwaukee
    MS-Off Ver
    2013
    Posts
    14

    Re: Coding Checkbox return value from another location

    You are amazing!! Thank you so much, I have spent hours trying to find a way to do this.

  9. #9
    Registered User
    Join Date
    09-04-2015
    Location
    milwaukee
    MS-Off Ver
    2013
    Posts
    14

    Re: Coding Checkbox return value from another location

    Made another error . I was trying to recreate the check box you created. I inserted an ActiveX check box, accidentally deleted the name, and I do not recall what it was specifically called. When trying to rename it i am receiving the message "Reference is not valid" and cannot click anywhere in excel or undo.

    Thanks in advance

    NEVERMIND
    Last edited by milwaukee; 09-13-2015 at 09:54 PM.

+ 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. Setting a file location within VBA coding
    By seanhill86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2015, 06:21 AM
  2. VBA coding require for auto fill maximum location in blank cells
    By anil kmr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2015, 12:15 AM
  3. Return to orignail view after rangetohtml coding.
    By knevil in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-05-2013, 09:35 AM
  4. [SOLVED] CheckBox coding to work with ComboBox coding
    By JimExcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2013, 12:23 PM
  5. coding to return data between worksheet
    By cboys00 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2012, 07:51 PM
  6. Userform Coding Multiple Checkbox Conditions
    By samkhazary in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2008, 07:55 PM
  7. Coding For The Return Key
    By Mhz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2007, 09:37 AM

Tags for this Thread

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