Solved

Link Controls on a Userform

Posted on 2015-01-19
3
66 Views
Last Modified: 2015-01-20
I have a spreadsheet with data. The columns are static and will not change. I have a userform to be used to navigate through the record set. The row count will not change.

How do I have the controls link so that the spin button navigation through the rows will change the values in the other controls based on information in the cells in the row?

Attached file is for use in an resolution.

Thanks
Userform-Test.xlsm
0
Comment
Question by:DougDodge
  • 2
3 Comments
 
LVL 45

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40560257
Try this. If I've gotten any of the offsets wrong, they are easy to correct. For example in dtPlannedQCWalkdown.Value = Rng(c).Offset(0, 2) the "2" means to get the data 2 columns to the right of the SubSystem column. If you need the Area or Item use -1 or -2.
Q-28599768.xlsm
0
 

Author Closing Comment

by:DougDodge
ID: 40560404
Absolutely perfect Martin. A little tweaking to get the rest of the fields done and it will be a work of art.

Thank you so much.....
0
 
LVL 45

Expert Comment

by:Martin Liss
ID: 40560407
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Outline Suppose you have some simple text based data in Excel that you would like to display as a PowerPoint presentation. Of course it would be possible to write some fairly complex VBA code that created a new slide for each line of the Excel data…
As freelancing is becoming more and more common in the tech industry, certain obstacles are proving to be a challenge to those who are used to more traditional, structured employment. This article is meant to help identify such obstacles and offer a…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now