Worksheet Display Size
Oct 4, 2007
some spreadsheets i open dont have 65536 rows , they only a 100 or 200 its seems the worksheets have been cut down. how can i do this based on the last row in the e coloum.
Ie last entry in the e coloumn is 500 the worksheet to only be that big
View 11 Replies
ADVERTISEMENT
Jan 23, 2008
I am trying to figure out how to make a userform to display the contents of a 2-D array which has a variable number of rows. I want the userform to height of the userform to correspond with the number of rows of data to display.
I don't have much experience with userforms, but here's what I was thinking:
VBA code which would find the # of rows of data and then adjust the height of the userform and the length of the lable (which the data would go in).
View 4 Replies
View Related
Jan 13, 2014
I had a data sheet that used about 20,000 rows, down to AF20000 or so. I deleted about 16,000 rows and now want to reduce the size of the worksheet so that when I hit Control+Shift+End, it takes me only to AF4000, not to AF20000. Can this be done without replicating into a new worksheet?
View 4 Replies
View Related
Mar 24, 2013
I have seen a worksheet/workbook in the past that only contains (for example) Columns A:H and Rows 1:150. The rest of the columns and rows do not show. Unfortunately I cannot find the example I was looking at and I cannot find any information on how to achieve it.
View 3 Replies
View Related
Mar 19, 2008
whats the correct syntax for Font Size as a Label property? I am attempting to change the font size of all Labels on a particular sheet via vb
View 9 Replies
View Related
Feb 14, 2013
I have a rather large spreadsheet that takes a long time to calculate. One sheet has the data (about 2800 rows by 650 columns), with samples in rows and data for each sample in the columns. A second sheet has functions to group the data according to predefined patterns. That second spreadsheet is about 800 columns wide and as many rows as I need it to be, as the samples don't need to be analyzed all at once.
Ideally I would like to do all samples at once by making the second spreadsheet 2800 rows high, but the calculation time is just way too long. And there's the problem. The calculation time seems to increase exponentially with the number of rows I calculate at a time. I ran a few tests making it different sizes, and here are the results:
rows
time(seconds)
100
3.5
150
12
200
23
[Code]...
I tried both HLOOKUP and INDEX/MATCH functions and it didn't make a lot of difference. These numbers are for INDEX/MATCH.
Graphing these numbers show that it follows an exponential curve pretty closely. What is interesting is that the progress indicator at the bottom of the screen finishes in a few seconds, about 5 seconds for 350 rows, and I can see the new data after those few seconds. But then it sits and appears to do nothing for the rest of the time. So, for 350 rows, it looks to be done with the calculations within 5 seconds, but then it freezes for another 2 minutes with CPU usage maxed out before I can do anything with the program. That actual calculation time seems to scale linearly with the number of rows I calculate, but the time after it finishes calculating before it finishes whatever else it's doing scales exponentially.
The spreadsheet does have a macro and a couple of other sheets and a macro that do some later analysis and I wondered if that had something to do with it. To check that, I created a new spreadsheet and set it up the same as the original one, with the data in one spreadsheet and the INDEX/MATCH formulas in the other. I copied the data over, but setup the formulas new without copying/pasting anything. It didn't make any real difference.
View 2 Replies
View Related
Oct 4, 2006
I have used Option Buttons and Combo Boxes on my worksheet. When I print my worksheet, the controls which contain values do not print properly. They only print a fraction of their actual size relative to the rest of the worksheet. The properties are set so that they are printable. What setting do I need to change for them to print properly.
View 2 Replies
View Related
Dec 23, 2013
I have a workbook with 4 worksheet that store different type of data. It also has a userform that load at start of the application which is to search the data in the workbook. The userform has a combobox where the names of the sheets are stored. when the user selects say Sheet2 in the combobox, it enables the relevant textboxes on the userform and activates the worksheet at the change event. The userform has a search button that searches all the worksheets based on the text entered in a textbox.
The problem: how to search based on 1 textbox. What I want is: say for e.g the end-user selects sheet2 from the combobox, this intern enables 4 textboxes (Name, DOB, Nationality, ID #) on the userform. The end-user should have the liberty to enter data in 1 and/or any of the textboxes. The search should be performed, that if data is only in 1 of any of textboxes then give all rows that fit that criteria and display in a temp worksheet. if say the name and dob is filled by the user than what matches both should be displayed in a temp worksheet. if say dob, name and ID# given so the search button should narrow down to fit all 3 criteria and then display result in temp worksheet. As if mentioned data can be entered in either just 1 or any or all textboxes.
E.g. the worksheet is (Columns are Name, Nationality, DOB, ID#)
row 1 = name: Steven Martin, DOB: 27-may-1993, Nationality: Trinidad & Tobago, ID #: 1234567
row 2 = name: Gary Richards, DOB: 2-FEB-1993, Nationality: British, ID #: 456789
row 3 = name: David Cohen, DOB: 27-May 1993, Nationality: American, ID #: 98765
row 4 = name: Roberto McDonalds, DOB 21-Jul-1962, Nationality: British, ID # 654321
row 5= name: Gary Richards, DOB: 01-Dec-1978, Nationality: Australian, ID # 1234567
Now if the user enters only name as "Gary Richards" and search then row 2 and 5 should be displayed in a temp worksheet. if user enters name Roberto McDonald and ID# 1234567 then it should not display anything. if user enters DOB 27-may-1993 and nationality British and ID # 1234567 then as well shouldn't display anything and should a msgbox "no data found".
View 4 Replies
View Related
May 3, 2012
I would like to know if it is possible with VBA in Excel 2007 to select objects based on size (or above a certain size).
I would like to select all the picture objects but not the small checkboxes on my worksheet.
I know that I can select the items one by one with home -> find/select -> select object but how I could make this "find/select" conditional.
View 7 Replies
View Related
Dec 11, 2006
Each tab in my worksheet is represented by a customer's name. I would like to have inside this worksheet their name displayed.
View 9 Replies
View Related
Dec 17, 2013
I have a problem where I extended a formula down to over 40,000 records which has increased the file size substantially. I only need it to scroll down to a few thousand rows now that I realized that there is alot less data to populate the worksheet. Is there any way to get it back to a scroll range that is more modest in size?
View 1 Replies
View Related
Jun 25, 2014
code to take jobs that are done on one spreadsheet and send them to the next available row of a specified range on another worksheet. I am also looking to incorporate a way to delete the empty rows that are left behind.
I have already made code to select the completed jobs, but am still unsure how to approach the next part. I can't even paste the selected range to another sheet without errors from range sizes.
The following code is done up to the point where I cut my selection.
Sub Update()
Worksheets("OpenGen").Activate
Dim c As Object
Dim rngA As Range
[Code]....
View 5 Replies
View Related
Feb 23, 2014
Basically every month I keep a track of my sales in a spreadsheet.
I've attached a sample file : Discrepancy Form.xlsx
Sometimes I don't get paid correctly. So rather then filling everything in manually, I want to simply put a "Y" (for yes, there's a discrepancy) or "N" (for no, there's no discrepancy" next to worksheet "Sales" but then have it display the values in worksheet "Discrepancy."
View 9 Replies
View Related
Sep 7, 2009
using VBA, I created a simple problem that I can't figure out how to solve in worksheet 2, I have 3 worksheets.
1. Players - Complete info of players
2. Members - When I select the team name, I'd like to display the info First Name, Last Name and Team only for the team name I've chosen. This should automatically change whenever I select a team name.
3. Team Codes - Tables I used for my vlookup and drop down list.
I have attached my file for your reference.
View 9 Replies
View Related
Oct 7, 2009
I have an excel workbook that has multiple worksheets that is linked to our in-house system via ODBC and it refreshes every 5 minutes with up to date sales data.
I am looking to output just one of the work sheets onto a large LCD display / wallboard.
I need to just display the summary worksheet without the excel toolbars / gui
View 14 Replies
View Related
Aug 31, 2009
I'm working on a project, and I need a cell on a worksheet to produce the name of the worksheet, such that if the worksheet changes, or is copied [Sheet1 renamed to Sheet(1), for example] the cell will automatically update [now displaying Sheet(1) in cell A1].
View 2 Replies
View Related
Oct 29, 2012
I've created a rudimentary VBA code to display 3 worksheets for 30 seconds each. Need revising it as a loop? The idea is to continue displaying each worksheet until I move the mouse or click any key.
Code:
Private Sub CommandButton2_Click()
'Close the UserForm and display worksheets
Unload Me
Sheets("GROSS").Select
[Code] ..........
View 9 Replies
View Related
Mar 20, 2008
I want to create a formula (preferably w/o macros) to insert the sheet name in a cell. In other words, if the worksheet name is "Location1", then cell A1 result in that worksheet would be "Location1" based on a formula that pulls it from the sheet name.
I found a post that ONLY does this for the current sheet:
=RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))
However, the sheet name is not frozen with it's sheet name when you switch sheets. I will have many sheets in the workbook.
View 9 Replies
View Related
Feb 16, 2007
How about if I have a long string of numbers that I want to display in another worksheet. For example, here is an item id off eBay, that I want displayed in another worksheet if it is present, otherwise, it should be blank. Here is the item id, they are all unique by the way.... 230092645222. I tried to use this formula below but it didn't work.
=IF(ISBLANK(inventory!S2),"",TEXT(inventory!S2))
View 5 Replies
View Related
Sep 28, 2007
I am having trouble writing a simple macro that can display the name of the worksheet (Sheet2) in a cell (Cell B2 of Sheet1).
Private Sub Worksheet_Change(ByVal Target As Range)
Worksheets("Sheet1").Range("B2").Value = Worksheets("Sheet2").Name
End Sub
View 3 Replies
View Related
Sep 29, 2009
The worksheet perfectly performs as expected, big thanks to JBeaucaire again. Now, as am looking around of the file and doing some exploration on the array, as I was trying to make this applicable to real life application, I noticed the following mysteries...
1. When I tried to delete some rows, The Members Sheet output went wrong and displaying #N/A. I noticed it's because the formula range have change. But it would be hard for a new user to re-arrange it over and over again everytime when a row is deleted.
2. I've been trying to solve this problem to no avail. I found this link that gives me an idea how my worksheet should work, this was already solved but I can't apply it on my worksheet...
http://www.excelforum.com/excel-prog...nd-resort.html
3. I would like to add another column on A to put the 0 and 1 on, but I don't need to delete this column after the resort so that next time if I need to delete another row existing row i'll just replace the existing 0 with 1 on column A.
View 2 Replies
View Related
Jul 7, 2006
I have a product Database with 11 columns. I am trying to build a Search/look-up userform.
I found a brialliant example of the same posted by Roy, UK. I have copied the same and its working well, but with a few little problems.
Here's what I've got:
I have a userform with a Combobox (called Combobox2) where it shows all the products from column B in the worksheet "ProductData". In the worksheet "ProductData" , I have 11 Columns with headings from B1:L1.
When user selects a product from the dropdown list (from Combobox2), all the details related to that product from other columns are displayed on the userform via labels.
This part is working fine....except that the values in Combobox2 are taken from activesheet and I want them to come from worksheet "ProductData".
I have hidden the sheet "ProductData".
Second Part is, I have about 20 products in the Database and all of them have a Product Specification Sheet in PDF format. I am just wondering, if there is any way I can have a button on the userform that can used to open this PDF datasheet for the product thats being lookeed up by user.
What I mean is, if user selects productA from the combobox2, then it displays all the info about the the ProductA on the labels on the usewrform. and if user clicks on the "View Data Sheet" button then it opens the Datasheet PDF file for ProductA.
Below is my code for the first part:
Option Explicit
Private Sub ComboBox2_Change()
Dim ws As Worksheet
Set ws = Worksheets("ProductData")
Dim Ncell As Range
With Range("B2", Range("b65536").End(xlUp))
Set Ncell = .Find(ComboBox2.Value, LookIn:=xlValues)
View 9 Replies
View Related
Sep 21, 2007
I have a workbook that lists various shipment numbers and their contents to several locations. What I am trying to do is, on a different worksheet in the same workbook, list all shipments to one location; having different worksheets for each specific location.
I am sure there must be an extremely simple solution to this, however I am unable to locate it.
Also I would like the separate location worksheets to autoupdate when new shipments are entered on the main worksheet.
View 6 Replies
View Related
Jan 22, 2008
I'm trying to add a message box that will appear when you activate a worksheet in a workbook. This is what I have, but it's not working.
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
If Sh. Name = "P2 Forecast" Then
MsgBox "Ensure you have locked your forecast on the Sales Forecast Tab prior to working your P2s"
Else
End If
End Sub
View 9 Replies
View Related
Feb 12, 2014
I am trying to build a report based on data in a separate worksheet. The report must only show the name of the value and qty associated with it only if the qty is greater than 0.
As an example, the values can be colors.
Column A = Names of Colors: Red, Blue, Green, Yellow, Black
Column B = Qty of each Color: 5,4,0,1,0
The report is held on a separate spreadsheet. I would like to only show the values that have qty's greater than 0, not any values that have a value of 0.
I've attached a sample workbook just in case.
View 7 Replies
View Related
Mar 11, 2012
I'd like to display a formula contained in a cell within the worksheet. How can I do that?
View 4 Replies
View Related
Jun 26, 2014
i want to be able to display the underlying data in a pivot table by clicking on the cell within the pivot table
ie, normally if you double click a cell within a pivot table, it will generate a new tab, and the data will be displayed in the newly created tab,
i want to be able to click a cell within my pivot table, and have the underlying data display beneath the pivot table..
View 1 Replies
View Related
Feb 23, 2014
I data on a master document and have data sent in from various independent offices which I would like to reconcile. Each region along with the master is posted onto a separate worksheet in my spreadsheet but I would like to copy specific information in worksheet order and paste row by row onto single worksheet in order to run a comparison. The data needed is in the same order but the number of rows reported on each work sheet will differ day by day. If worksheet 1 displays 50 rows in the consolidated sheet I would like worksheet 2 start in row 51, if however worksheet 1 finished in 24, I would like worksheet 2 to start in 25. Now I also want each worksheet to start reporting once the previous worksheet is complete and when there is no data in a specific worksheet, I would like the process to be able to continue.. so sheet 1 reports, then sheet 2 but sheet 3 has no data so it jumps to sheet 4 to begin.
For example consider various cities, New York, London, Frankfurt & Tokyo, each has sales of various products from a catalogue range but the products sold differ each week based on regional trends. The master document which is independent also reports sales but this is manual so I would like to pick up any inaccuracies through reconciliation.
Outside of VBA and Macros, is it possible to get excel to report data sheet by sheet onto one in a continuous order?
View 3 Replies
View Related
Feb 27, 2014
I have a worksheet with a lot of different conditions applied to a lot of cells. I'd like to do some housekeeping, but to do that, I would like a clear and complete list of all cells that have conditional formats attached to them, and what the formula/criteria is for applying said format. I don't even care what the formatting is, but that would be nice too.
So, when I go to my "Conditional Formatting" screen, I get something like:
Now, this doesn't show me much of anything about what the formula actually is. I need to select it and look around. I'd rather just get a full listing of what the rule says...
And where I might have the same rule applied to different ranges of cells And so on.
View 2 Replies
View Related
Feb 3, 2010
I need the VBA script in excel that will do a SQL Query, for this case I need to select a value where there are 2-3 tags and between certain period then display the result as a table in a worksheet.
Example I have a database with 3 types of tags "Tag A", "Tag B", and "Tag C", and each tag have a value with different timestamp. the database looks like this:
No. Timestamp Tags Value
1 1-Jan-2010 Tag A 18
2 1-Jan-2010 Tag C 20
3 2-Jan-2010 Tag A 20
4 3-Jan-2010 Tag B 17
5 3-Jan-2010 Tag C 19
6 4-Jan-2010 Tag B 18
7 4-Jan-2010 Tag A 20
8 5-Jan-2010 Tag A 22
9 5-Jan-2010 Tag B 18
10 5-JAn-2010 Tag C 20
View 9 Replies
View Related