Tidy Up Dropdown For Name Without Showing Blanks When I Scroll
Feb 19, 2010
1.How can i tidy up Dropdown for name without showing blanks when i scroll ?
2.For ID & Batch How can i get data to appear automatically picking up from Sheet 1 based on Name selected. I know how to use vlookup but in VB im still learning.
3. How can i get ONLY ID & Batch (Not name) information to appear in sheet2 in Cell B10 & Cell B11.
4. How can i limit the task txt entry to only 18 characters to appear in B12 ?
5. How to Loop this when clicked Next and then start entering info again so that the next entry appears in B13 (ID), B14 (Batch), B14(task) and so on.....
6. How can i prefix a txt string e.g ($GA (Hidden to user entering) say txt entry e.g (Dance) that is going to appear in Sheet2 in B14 reslut($GA:Dance)
I have a dropdown in which a state can be selected. A second dropdown then retrieves and displays a list of the counties in that particular state that the user can choose from.
The available county list is retrieved using an array formula: {=IFERROR(INDEX(RatingTables!$MF$8:$MF$3195, SMALL(IF(LandingPage!$G$20=RatingTables!$ME$8:$ME$3195, ROW(RatingTables!$ME$8:$ME$3195)-MIN(ROW(RatingTables!$ME$8:$ME$3195))+1, ""), ROW(B1))),"")}
and there are a variable number of counties in each state, so I have dragged the formula quite far down the column.
The problem is that because of this, my county dropdown has quite a few spaces at the end of its selection list (depending on the state). I've attemped to remove them using a dynamic table (the available counties populate in column R):
=OFFSET(LandingPage!$R$1,1,,COUNTA(LandingPage!$R:$R)-1) but it still includes the spaces at the end of the dropbox scroll list.
I have created some code (1st time I have written any code so don’t be too harsh) Any i would like expert’s comments as to how to maybe simplify it, tidy it up, any improvements. Like HTML does VBA code have a standard intro maybe explaining what it is….
Private Sub CommandButton1_Click() ' Discount Calculations for Educational Customer If ListBox1 = "Library, School or Educational Instituations" And NumberBooks > 50 Then MsgBox "Discount 30% " & vbCrLf & _ "Original Price " & "£" & PriceBooks & vbCrLf & _ "Discount Amount " & "£" & (PriceBooks / 100 * 30) & vbCrLf & _ "New Price " & "£" & (PriceBooks - PriceBooks / 100 * 30) End If If ListBox1 = "Library, School or Educational Instituations" And NumberBooks < 51 And NumberBooks > 24 Then............
How can I get the dropdown list to not include blank cells in the list reguardless if the sort filter is used or not.
Sheet 1 (STATS) is the dropdownlist Cell B12 Sheet 2 (Orders) is the data, I cant convert to tables because the cells are active and storted Column B2: is the data named.
I would like to be able to make the same thing and select items for my drop down list, that are not blak and follow a specific condition. But I don't know how to include the condition in the array formula.
The condition I need is follow:
I want to have a dropdown list with Items that are not blank, and First N > Last N.
I have an input box which has OK and cancel buttons If the user clicks cancel I would like to routine to end, which I can do with exit sub. However this particular sub routine has been called from another so the rest of the code continues. Is there a way of exiting all the routines on cancel -- or a neater way than exit sub ?
I am using the toolbox/ properties method to restrict the scroll area in the sheets of my workbook. However, for some sheets when i keep the right hand arrow pressed, the screen will not scroll to the last column. (i.e. the screen display will not move with the selected cell box)
In the menu via TOOLS-->OPTIONS-->VIEW I am trying to remove the scroll bars from just one worksheet but when unticked, this option affects all of the worksheets in my workbook. Is there a way to just nail this selection down to one sheet via properties?
I'm trying to scroll down my work sheet but it's not letting me. Every time I move the scroll bar down the page it just keeps showing me the same part of the sheet eg cells 1-30 when I want to see all the way down to the bottom. I have some 20,000 lines I need to scroll through but I can't see all of them. To add to this, I keep having lines hide between other lines so theres a big gap like going from line 120 to line 4000 and I have to manually unhide them every time to see them.
I have a spreadsheet with some scripting that automatically emails the report to whoever is on the sheet. I'm not sure what kind of scripting it is. I think my boss found it somewhere.
Whenever I scroll either down or up, the first 3 rows disappear and I'm not able to scroll back up. The scrollbar shows that I'm not at the top, but it won't let me go back up. The first 3 rows contain the button to send the email. If I close out without saving and open it again, its fine, until I scroll up or down.
I've been trying to set the scroll bar min/max/small change to a decimal (percentage value) within the properties, obviously this does not work.
Since users can enter a value in the link cell for the scroll bar, how can I modify the current min/max/small change via macros so the scroll bar will show a min on 1%, small change of 0.25% and max of 25%?
I use a very simple textbox in a userform for sequential output only (it displays status messages of a long program run). The box nicely scrolls vertically up the lines but only till the userform has the focus (i.e. it is the actual selected window). But when I change the focus to othe window - scrolling immediatelly stops. Unfortunatly when I activate a new Excel sheet in the background program, the userform lost the focus and scroll is stopping.
Has anybody a solution for it? I have already tried positioning the textbox with sellength/selstart but I was unable to start the scrolling again from the proper position. I know that VB has the scrolltocaret() funcion but it is missing in VBA.
I have a document that is rather simple but has 32,984 Rows.
What I would like to do is program the sheet so if I enter a six (6) digit employee number in A2 (A1 is a header) then all the rows would scoll up and stop just below A2 in other words strop at row 3, if this makles any sense,
Also what I woudl like to do is the same option in A2 and have the same effect but here the user would have to enter only the first 3 characters of a name and then the system would scroll through all the options and start listing them as above starting at row 3.
The end result for both options would be to highlight the desired sorted rows..............
I am attempting to create a lookup spreadsheet. The big picture is this: I need a quick way to look up what paperwork i have and what i still need for each of my 200+ clients. I have created checkboxes and a document matrix where document names get color coded when a checkbox is checked next to clients name. Now i am attempting to add another feature where when the box is checked off i can see notes ive put in for that client. I picture it as a textbox with a scrollbar linked to a cell on a different sheet where the notes are stored. I cannot to get it to work, i am able to insert the textbox but the notes appear in a single Line, no matter how big the texbox is, which makes the scroll bar not function.
I have a aged debt report. Historically this has caused problems as when a customer paid there debt all comments were lost and we had to start from scratch if they got into debt again. Also comments had to be transfered when the data was updated.
I solved this by adding a comments sheet and a short macro that stored comments based on customer name. A lookup then showed the latest comment on the main sheet.
if it is possible to create a chart which only shows a portion of the data series at once, but has the ability to scroll through all of the data points using a scroll bar.
I am aware of one method which changes the input data based on formulas linked to the "cell link" feature of the scroll bar, which gets the job done. I am curious if there is an alternative method where all of the data is charted, but there is a fixed chart "window" of sorts that shows only a certain amount of the data (like a web browser - you have to scroll down to see the rest of the page). The scroll bar would ideally only reveal what is already there, rather than changing the data range via a formula. Does this make sense?
I dont know the real name about this scroll bar (like you can see in my attachment), so I cant search in the forum, sigh! how can I remove the bar in the red circle?
My spreadsheet has 459 rows; however, the vertical scroll bar ends at row 569738. I have attempted to delete all of the extra rows by holding SHIFT and CTRL, striking the down arrow then right-clicking on the left margin of highlighted row numbers and choosing delete. I have also done the same procedure except clicking clear all from the editing menu. None of these methods has removed the rows and enlarged the vertical scroll bar to a proportionate size in relation to the number of rows.
My litbox is 180 point wide (set by width command) but my text is wider.
I seem to remember if you set a small width in the .columnwidths property you can generate a scroll bar - but this is ignored for a single column listbox, which is what I have.
If I reset the .Width property to something very small (eg 50) then I get the scroll bar but for some reason it doesn't scroll the fullwidth of the text.
I have a spreadsheet which contains about 800 rows. Each row contains a column with the name of a different workbook. I need to scroll through each cell containing the name of a workbook and open that workbook, extract two specific cell contents from each workbook opened, and paste that information into the two cells next to the original cell containing the workbook name.
Example:
Summary Workbook column C: contains names of workbooks. For each workbook name, I need to open the respective workbook. Then in the first tab of the workbook I need to extract the information in E6 and K7 and copy that information back into the summary workbook in the two cell to the right of column C.