Data Link Changes Column Height?
Jul 10, 2014
I have an MS Access Data link (parametrized query) set up in Column A. (Specifically A5:B85). However, every time I change the value in cell G2 (the source of my A5 result), the width of column A always changes. Is there a way for me to get column A to "freeze" to a width size of my selection?
View 1 Replies
ADVERTISEMENT
Feb 24, 2009
Finding the Column with the MAX Height in comparison with other Columns of UNEVEN Height
I need two things :
1. I have several columns starting from Column B till Column F, each column having values starting from the third ROW.
Ex:-
Lets say Column B contains two values in B3 and B4, Col C three values in C3 C4 and C5, Col D four values D3,D4,D5 and D6, Col E two values in E3 and E4, Column F five values F3,F4,F5,F6 and F7.
So, the answer is F3:F7.
2.I am using 10^{4,3,2,1,0} in a particular portion of a formula, Now the number of elements in the array or in the Curly Braces depends on the number of Columns filled from Column B as explained in the Point 1.
Now, since I have five columns under consideration I have this order as mentioned here {4,3,2,1,0} , I would like to know whether I could make this dynamic, as in if there were only four columns then this would be {3,2,1,0} and if more this array could self-fill and expand..
If that's possible, then how do we use it in the formula, Is it by the virtue of the INDIRECT function?
View 14 Replies
View Related
Oct 11, 2012
I have excel sheet with 4 worksheets tabs(Master, Won, Lost, No Bid). All data entered on Master. I want each row to automatically link/appear on 2nd, 3rd or 4th worksheet tab based on info in column Q (Result) which would be either 'Pending' - in which case it would stay on Master, 'Won' - would stay and copy to Won worksheet, 'Lost' - would stay andcopy to Lost worksheet, 'No Bid' - would stay and copy to No Bid worksheet. All rows would always show up on Master worksheet.
View 1 Replies
View Related
Jan 27, 2010
I'm in need of a formula, or another automated technique, to link a column of data from one worksheet to another. I have an input worksheet that I copy the raw data into that is formatted as follows:
COLUMN A
Row 1 12001
Row 2 12004
Row 3 12011
Row 4 12020
Row 5 13050
etc...
I need this import sheet to link to an output worksheet that would be updated automatically as new data is entered into the input sheet. However, I need the output sheet to copy the input values a specified # of the times and list them. For example, if the specified # was 3, it would be formatted as follows:
COLUMN A
Row 1 12001
Row 2 12001
Row 3 12001
Row 4 12004
Row 5 12004
Row 6 12004
Row 7 12011
etc...
I need the formula, or method, to be one that I don't have to continually re-enter as the data changes, as I have thousands of records to do this with. I've tried filling down, but autofill doesn't recognize an accurate trend. Is this something that I can accomplish by combining several fomulas, creating macros, or a combination of the both?
View 2 Replies
View Related
Jul 22, 2007
I'm creating a map like image with Excel, and I've set the column width and row height to certain dimensions. Now I'm entering in some text into them, and I noticed that when I added in 2 digit numbers, the column width expanded a little bit. I want to prevent this from happening, and still be able to enter in the 2 digit text (since it WILL fit, and it's expanding to keep that extra bit of space).
Is there any way to lock the dimensions?
View 7 Replies
View Related
Jul 18, 2007
I need to freeze the column and row height and width for a specific area in spreadsheet, so that it shouldnt be altered in future from any one using this sheet.
View 3 Replies
View Related
Aug 15, 2014
Refer to enclosed excel file, I have drew a chart base on the data in side. However, for the last column which is "SG Productivity(KUSD)", The column very small even cannot be seen, is there any way can enlarge columns in this field without changing other column? T
View 1 Replies
View Related
Apr 17, 2008
I have vba code to change column width and height into mm.
The code is taking alot of time to run and then hangs my excel session.
The code below calls two sub routines.
Sub Change()
Dim i As Long
With Application
.DisplayAlerts = False
. ScreenUpdating = False
End With
For i = 1 To 23
SetColumnWidthMM i, 3.5
Next i
End Sub...
View 3 Replies
View Related
Apr 16, 2014
I have a number of cells where I've put to wrap text, but the cell size is not adjusting when I type past the size of the cells, how do I get the cells the get bigger automaticly to fit all the text but bigger in height not length?
View 2 Replies
View Related
Oct 30, 2009
This used to (and on some machines still does) work very well, but all of the sudden on my work machine, it is incredably SLOW!! The whole program takes a list of tasks and dates, and creates a wall calendar from them. Then (the offending part, below in code) looks at each cell on the wall calendar and formats it by sizing the height of a merged cell so that the entire task is displayed, then goes on to put a square around it (works fine).
The formating of the cell height/width can take up to 11 SECONDS each cell. What is happening to do this? Again, it USED to, and on some machines still does, FLY through this process. But now it just crawls. Code below, with the 3 offending lines identified.
Private Sub Fit_Height(ByVal Target As Range)
Dim NewRwHt As Single
Dim cWdth As Single, MrgeWdth As Single
Dim c As Range, cc As Range
Dim ma As Range
Application. ScreenUpdating = False
With Target
If .MergeCells And .WrapText Then
Set c = Target.Cells(1, 1)
cWdth = c.ColumnWidth
Set ma = c.MergeArea
For Each cc In ma.Cells
MrgeWdth = MrgeWdth + cc.ColumnWidth
Next
An additional item (clue?) is that, after the macro is done running, it is still unbearably slow to do anything on-screen. Grabbing the column header and changing the column width takes 5 seconds or so before it snaps to the desired width and displays correctly. Closing Excel and reopening it takes care of that problem.
More advancement (as I wait). It seems to be the Application.PageSetup that kills it. As soon as I hit the first Application.PageSetup line, the app grinds to a halt, and almost every line after that that manipulates the screen format or the page format takes 5 or so seconds EACH to process. I put them all at the end, but that really doesn't solve the problem, nor explain it, nor give me a true solution.
View 4 Replies
View Related
Jul 6, 2013
I have tried and been searching but cannot find the answer. Is it possible to change the row height and column width for only a selected range in my spread sheet, for example, F13:I23? I am using Excel 2010.
View 2 Replies
View Related
Oct 28, 2011
Is there a way to get cells in a column to adjust their height automatically, or with a macro to account for text overflow/wrap?
For example, lets say a column is 200 px in width and it's height is enough to view a single line of text, and the column is set to wrap text. Now more text is entered into the cell and it needs to be re-sized to fit two lines of text.
Is there a way to create a macro button to have this done automatically?
View 1 Replies
View Related
Apr 19, 2012
I am trying to create a data validation using Height as the subject.
I have column A with Height, the user inputs the heights, based on the input, i want column B to present with values as below
If Height < 24
Options: Good, Bad, Ok
If Height between 24 and 50
Options: Good, Bad, Average
If Height > 50
Options: Good, Bad, Excellent
View 9 Replies
View Related
Feb 14, 2014
I have set of data in sheet1 i want to copy and paste in sheet2 with same row height.
View 2 Replies
View Related
May 2, 2008
I m working with bar charts and as I've heard these labels can be a bit of a pain. I've got the labels in roughly the right position 90% of the time however that other 10% has me in rolling fits.
My issues
1. A label within the chart area is wrapped on two lines, how could I restrict Excel from wrappign the label
2. A Labels position covers some of the data reported and thus makes the graph messy
how could I find the position of the end of the bar and also the length of the datalabel so I could reposition it. Note I am using 2003 and that I am trying to use
activeChart.seriesCollection(s).item(i).Datalabel.left
for finding the position although this is only really where im getting to. finding the wrapping position and also being able to manipulate the length of the label is proving tricky.
View 6 Replies
View Related
Jul 4, 2013
How to get Excel to automatically link address to company names?
Background information
I have started making a database in Excel and added company names and adresses in two seperate columns. Later I checked for duplicates by pasting in the company names from a database I have made before. Now, about 50% of the company names remained and so I want to remove the duplicate company names and adresses from the first file without sifting through them manually.
Example
File prior to duplicate check/removal (tab called 'Database' in attached Excel file):
Company name 1 Address 1
Company name 2 Address 2
Company name 3 Address 3
Company name 4 Address 4
Company name 5 Address 5
Company name 6 Address 6
*used another database (without adresses) to check for duplicate company names*
File after duplicate check/removal (tab called 'Database (2) in attached Excel file):
Company name 1 Adress 1
Company name 3 Adress 2
Company name 4 Adress 3Adress 4
Adress 5
Adress 6
The idea is to make Excel automatically fill in the adresses from the companies that remain after the duplicates check from the tab called 'Database' on the tab called 'Database (2).
View 5 Replies
View Related
May 8, 2014
I build a tool in excel to make an analysis per industry (30 industries). I want to compare the results on the first sheet, as a summary. All the information is now scattered over the sheets, but what I want to do is when you change the ticker in column A, it automatically retrieves the information from on of the sheets for the specific company. I will try to make myself clear to attach a screenshot.
So if you change ticker in column A, I want to fill columns C:D:E, G:H:I, K:L:M, O:P:Q, etc automatically according to the company name.
View 5 Replies
View Related
Jun 14, 2007
I am doing a project and met with a problem with the excel spreadsheet.
will keep my questions short and sweet for easy reading.
i have 2 excel spreadsheet which i need to link up.
one has an option for you to choose your nationality eg. american /chinese
the option is done via a "dot" checkbox
once "american" is checked, and the name is entered at a column below it.
the name will be keyed into the 2nd excel spreadsheet under the "american column"
and if its checked "chinese", the name will be entered under "chinese" column which is also in the same spreadsheet.
>>i understand that once i keyed in more entries. i need to create a For...loop whereby the system will do a run-through to check for a empty slot, insert another row and place the data in the rows.
>>how do i link up and make sure that the computer will know when to put under the "american" column and when to put under the "chinese" column.
View 11 Replies
View Related
Sep 19, 2013
I have a long list of Titles in Column A. I want to be able to paste a link into Column B and it automatically searches the text next to it. I would like it to be simple. Something that is the same for every row, so I can bulk copy and paste.
View 13 Replies
View Related
Jun 23, 2014
I'm trying to create a dynamic chart title by inserting a text box in the chart title that displays the value of the last populated cell in column A. The number of rows increases over time, so I'm trying to come up with a dynamic cell reference. When I hover over the text box a tool tip appears with this text "TextBox 2" so I assume that is the name of the text box. I'm definitely open to other methods that do not use vba. It seems that none of this code can activate the text box:
Code:
Sub textbox()
Worksheets("Figure3-5").TextBoxes("TextBox 2").Range("A" & Rows.Count).End(xlUp).Value
End Sub
[Code]....
View 1 Replies
View Related
Oct 8, 2009
I am building a userform which also needs to display current data from a cell in the most recent row of a worksheet. This current data and all userform selections are then to be written to a row in a separate worksheet. I have not been able to properly reference the current data; My (rookie) approach intended to set the ControlSource properties of a TextBox to the desired current data.
Private Sub CommandButton1_Click()
'Begin form
' find last gps reading
Dim LastRow As Long
Dim Source As Worksheet
Set Source = Worksheets("Sheet1")
Set Dec = Worksheets("DecimalForm")
View 4 Replies
View Related
Nov 3, 2013
I am working on Excel 2010. I want to find a way to link data from one spreadsheet to another one and whenever I update the first spreadsheet, the second one will be automatically updated?
View 2 Replies
View Related
Aug 13, 2014
I have a worksheet that has about 20 columns and 60 rows, but only need the data from 5 of the columns to link with outlook calendar. I want to be able to enter the date of completion of a task in the excel spreadsheet and have an reminder entered into outlook calendar a year later. I would like the Subject of the appointment to be the EMPLOYEE NAME and the Location of the appointment to be the TASK (what the employee has to renew) [these would be the column headers]. The duration can be ALL DAY for all appointments. A reminder would be fantastic!
The only other fear I have is each time I run the macro/VBA it will recreate duplicate appointments.
And I don't know if this is possible but one of the tasks (column) for renewal, ie: drug test, calls for an employee to be randomly selected every quarter. This will cause the employee to have a new annual renewal date in outlook but will outlook still retain the original annual renewal appointment date? I am sure we can live with this, but just a thought if there is a possibility of removing the original appointment it would be amazing.
I have attached example of worksheet. The yellow highlighted column headers contain the information I need renewal appointments created for.
View 14 Replies
View Related
Jun 28, 2013
I have two worksheets, one with detail monthly information and one with YTD information. So let's say the three numbers I want to capture in the YTD sheet are in columns B, G and I on the monthly sheet. January's data might be in B5, G5 and I5. February's data is in B12, G12 and I12 and so on.
On the YTD sheet in cell C2 I link to Monthly!B5 and in C3 I link to Monthly!B12 so cells C2 to C13 on the YTD sheet show the monthly totals from column B on the detail sheet. On the YTD sheet, cells C20 to C31 show the monthly totals from column G on the monthly sheet, so cells G5, G12, etc. And finally, cells C40 to C51 on the YTD sheet show monthly totals form column I on the monthly sheet.
In the past I've always created all these links manually. After creating the links in C2 to C13 on the YTD sheet, is there a way to use a formula in C21 that uses the link in C2 to create a link for G5?
View 6 Replies
View Related
Mar 20, 2013
I have a large Master Log (One Log to Rule Them All.xlsx) with data from 4 regions that I want to link to 4 Regional Logs (Region 2 03-22-13.xlsx, Region 3 03-22-13.xlsx, etc) and populate based on criteria found in column B, titled "County." Let's assume the county names are "Alpha," "Bravo," "Charlie," etc. So if the county is "Alpha," that row should only be linked to Region 2, if it's "Bravo" or "Charlie," it should only be linked to Region 3, etc.
To further complicate things, the 4 Regional Logs get renamed every week, so I will have to re-do this process weekly, so I need it to be simple and quick, plus we email these regional logs weekly, so I need to be able to break any links, or do something else, so that people around the state will see information, even though they don't have the Master Log. I also need the Regional Logs' formatting, spacing, etc to be identical to the Master Log.
I want this so I can edit the Master Log, and when the individual Regional Logs are opened they are automatically updated with the information from the Master Log, regardless if the Master Log is opened or closed. But I also need the Master Log to reflect changes done individually to the Regional Logs, in case someone else edits things.
View 12 Replies
View Related
Sep 3, 2008
I have a column of data that constantly changes in length and want this column to autosort the data alphabetically when the data changes. the list contains the names of worksheets
I then want to display in the next couple of columns data from the worksheets listed in the column. i know i can do this manualy by saying that that the cell equals sheet? cell etc but was wondering instead on putting in a formula of ='A sheet'!E20 i can put something where A Sheet is that uses the name in the column of data ?
View 12 Replies
View Related
Sep 4, 2009
I am trying to link data from multiple sheets in a file into one sheet. This is the following I want to achieve.
1) I want to pull data from the tab - Tab 1 (in the attached sheet) from column F only if the column E cell has 3, into the "Plan" Sheet in cell D5. I want all the 3's information from Tab 1 (F12, F14, F16 and F17) to be in the same cell D5 with alt+Enter spacing. The trick is these cells may not be always 3 they can be either 1,2,3. So the function needs to go through the entire range E10:E69 to find where there are 3 in the E column and then return the corresponding data from the F column to the "Plan" sheet in Tab 1.
View 4 Replies
View Related
Jun 10, 2014
I have a workbook with two sheets. One contains raw data without any formatting. I'm trying to link the cells in "Raw Data" sheet to my "Clean Data" sheet.
The data are financial results by divisions and each division by year. So my goal is to do a loop 'Do until or 'Do while by the years to separate the divisions. My years go from 2008 to 2013 repeating itself for each divisions. Doing that way, when I add a year in my "Raw Data" sheet and re-run my code it will add the 2014 financial results to the "Clean Data" sheet.
View 14 Replies
View Related
Nov 4, 2008
I wonder if it is possible to bring data from DDE-links to variables in a macro without first bringing it to cells in Excel. The reason why I want to do this is because I only need the data when the macro is run (that is when a certain button is pushed). It would be a waste of system resources to continously link the data to cells in Excel. I asked the same question a few days ago at another forum but didn't get any reply.
View 2 Replies
View Related
Oct 17, 2009
I have a spread sheet that has streaming DDE link from Think or Swim (my stock broker). The data keeps updating durning the day, what I want to do is to take a snapshot of the data every hour during the day. Then I want to put that data in a new cell every hour so I compare the change.
View 1 Replies
View Related