+ Reply to Thread
Results 1 to 7 of 7

change data in the spreadsheet with the form

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    change data in the spreadsheet with the form

    Hi

    When Selecting the ComboBox1, and choose a city, and after typing a value in TextBox1, I would like to save changes the worksheet named "Base".

    then I select the ComboBox1 City Texas, and I type in TextBox1 7.00 all names in the spreadsheet Texas reberá the value 7.00 in column "B"



    Please see the attached
    thank you!

    Cross-Post
    http://www.thecodecage.com/forumz/mi...heet-form.html
    Attached Files Attached Files
    Last edited by marreco; 04-29-2012 at 03:28 PM.
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: change data in the spreadsheet with the form

    You need something like:

    Please Login or Register  to view this content.
    In the code module with the userform.

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: change data in the spreadsheet with the form

    was very good, I found impressive!

    one more thing as I do to get the value like $ 7.00?

    Thank you!!!

  4. #4
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: change data in the spreadsheet with the form

    My mistake, it should be TextBox1.Value and not TextBox1.Text.

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: change data in the spreadsheet with the form

    I think I must have expressed myself wrong.

    I need the spreadsheet céluas tenhm this format $ 7.00

    even with your change something went wrong.

    anyway, thank you

  6. #6
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: change data in the spreadsheet with the form

    The cell format for column "B" is set at "R$"#,##0.00, so are you wanting to change this format?

    We can add:

    Please Login or Register  to view this content.
    For example:

    Please Login or Register  to view this content.
    Does that help?

  7. #7
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: change data in the spreadsheet with the form

    Hi.

    Still did not work out this code does what I want but need it, look in column "B" only those cells that have data, otherwise the code is running too long!
    Please Login or Register  to view this content.

+ 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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1