• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

I need help to show textbox according to value

I have done a simple "Add Data" project, it is very simple, it has to basic userforms. They are called "Enter_Tasks" and Task_View". The first is to enter data from TextBoxes to Sheet called "Tasks", the second one is to display the data already entered. I have placed 2 Colored Texboxes in Task_View userform. I am trying to use these 2 Textboxes(TextBox6 and TextBox7) as measuring data. I mean, if the TextBox6 Percentage value increases or decreases, the size of the Texboxes(6 and 7) to make bigger or smaller on a scale from 1% to 100%.

I am sending you the original file I am using and some images explaining what I need.

Thank you so much in advance.
 

Attachments

  • Capture4.JPG
    Capture4.JPG
    70 KB · Views: 9
  • Capture3.JPG
    Capture3.JPG
    52.7 KB · Views: 7
  • Slide2.JPG
    Slide2.JPG
    85.3 KB · Views: 7
  • Slide1.JPG
    Slide1.JPG
    78.3 KB · Views: 6
  • Tasks.xlsm
    28.3 KB · Views: 4
But what if, I have more than 4 or five Charts and I would like to show them in different forms of the same proyect? I tried to do it with the same method, but it causes some conflicts and shows me a message that says error. But it happens when I use the same excel file in another computer. Is there anything that I am doing wrong? I am sending you the file I am using. I did in the same way you did and added the same coding features to the other userforms. Please let me know if when you execute the file, you get any error when displaing the charts in the correspondig userform. Thank you in advance.
 

Attachments

  • Tasks.xlsm
    60.9 KB · Views: 5
The error that "Run-Time error '481':
Invalid picture.

it happens with all the userforms that have a chart on it. The last file I sent was a test to find out if someone is wrong, but you told it works ok. The file I am sending is the one that I am originally working on. I run it from My PC(Windows 8.1, Office 2016) it works perfectly, but when I run the same file in my job computer(WIndows 10, Office 2013) it causes those errors. I don't know if it is something wrong in the coding or it is something related to the Windows Version.
 

Attachments

  • Invalid 1.JPG
    Invalid 1.JPG
    21.2 KB · Views: 4
  • Capture Invalid Picture Code.JPG
    Capture Invalid Picture Code.JPG
    44.7 KB · Views: 4
  • Capture9.JPG
    Capture9.JPG
    53.9 KB · Views: 3
  • Concierge email Metrics YTD(Ver 2.0).xlsm
    332.6 KB · Views: 8
Back
Top