Solved

Magical Floating ActiveX Control fro Excel Data Validation List

Posted on 2015-02-18
11
62 Views
Last Modified: 2015-02-19
See attached Excel Sheet.

Column "Type" Drop Down List Validation.

I would like it to show the full selection description but after making selection on show the first two digits and ensure the column is re-sized to only the two digit selection.
C--Users-dlehman-Desktop-Part-Order-Form
0
Comment
  • 6
  • 5
11 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40617355
Try this. all the changes are marked with 'new.
Q-28619595.xlsm
0
 

Author Comment

by:haradaindustryofamerica
ID: 40617415
Is there a way to have this work for only the "Type" column?

The action is being taken on all the other columns that have a Data Validation list but it is applying the same rules as the "Type" column that after selection it is only showing the first two characters. I only want that for the "Type" column.

Also some of the other columns that have a drop list were causing it to go into debug mode at line

"  grngLinkedCell.Value = Left(grngLinkedCell, 2)  "
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40617471
I restricted the floating combobox to the Type column and removed grngLinkedCell.
Q-28619595a.xlsm
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:haradaindustryofamerica
ID: 40617645
Perfect!  Thanks Martin!
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40617894
You won't forget to close this question I hope,
0
 

Author Comment

by:haradaindustryofamerica
ID: 40619344
Hi Martin,

I am still having an issue with the sheet.

I have copied the file to a network location for user testing.

User A is logged into their desktop system and browse to the shared location.

I have logged into the Terminal Services system as User A and have browsed to the same network location where the file is.

When User A opens the file on their desktop and try and use any drop down list on the sheet they receive the attached error.

When User A logged into the TS system opens the sheet from the same location it opens and works perfectly fine.

Both systems are running Office 2010 - unknown if at same patch level will check that next.

Check Trust Center settings and they are set the same as well.

Any ideas?
C--Users-dlehman-Desktop-Capture.jpg
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40619779
I have no idea why you have that problem and I have no way to test it so the attached is the best I can do. The line of code that is causing the problem is trying to get the data validation formula from the target cell so that it can use that formula to fill the floating combobox. The data validation formula was =$Q$12:$Q$33 and what I did was to created a Named Range called "Types" that resolves to that range and used that Named Range in the line of code in hopes that it would help Excel find the range. If this doesn't work you'll need to ask a new question about the problem and hope that someone else can solve it.
Q-28619595b.xlsm
0
 

Author Comment

by:haradaindustryofamerica
ID: 40619927
Martin,

Weird... still does not work. Both systems are same patch level of Office 2010 too.

I will open another question - thank you for all your assistance.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40619963
I'll be interested in the answer so in case I miss it could you post the URL of the new question here please?
0
 

Author Comment

by:haradaindustryofamerica
ID: 40619997
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40620000
Thanks.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel cell formatting 5 27
Dynamic Excel Input Form 29 30
Excel User Form VBA Help 18 30
mail (32 bit) not available for a user profile in windows 10 8 16
My experience with Windows 10 over a one year period and suggestions for smooth operation
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question