Excel 2007 :: Maintain Aspect Ratio?
Nov 11, 2012
I have a userform that opens up to full screen, however, when i designed it everything is central and in its place, but when the userform opens full screen everything is pushed to the left and not using all the form.
I know that in VB2010 u can use docking and table layout panels for this sort of thing but VBA 2007 which I am using with excel doesnt seem to have these options?
View 1 Replies
ADVERTISEMENT
May 23, 2013
What is the best Aspect Ratio for a dashboard 4 X 3 or 6 X 9.
View 3 Replies
View Related
Sep 27, 2011
below is my coding, it inserts a picture into a cell and fits to what ever the cell size is.
my cells are more landscape (fixed) than portrait, how can i still make the images fit into the cell height wise but keep a aspect ratio of a portrait picture.
Sub InsertPicture1()
Dim myPicture As Variant
myPicture = Application.GetOpenFilename _
("Pictures (*.gif; *.jpg; *.bmp; *.tif),*.gif; *.jpg; *.bmp; *.tif", , "Select Picture to Import")
If myPicture = False Then Exit Sub
Application.ScreenUpdating = False
[Code] ........
View 6 Replies
View Related
Aug 24, 2012
I'm haven't played with stats in a while and now I'm trying to determine the ideal traffic/labor hour in order to maximize revenue/labor hour. My data looks like this:
Excel 2010
A
B
C
D
E
F
1
Date
Traffic
Revenue
Hours
Traffic/hr
Revenue/hr
[Code] ........
Sheet1
I don't know if Excel or Analyst Toolpak has the firepower for this or if I'll need additional tools.
View 5 Replies
View Related
Oct 23, 2012
Using 2010 - When I paste a chart I can initially retain the format of chart bar colours (Paste Special - source formatting). But when I select a new data source for the chart the formatting of the colours is not retained.
View 1 Replies
View Related
Aug 23, 2013
Excel 2010. I have a workbook that has multiple sheets where some have headers and others do not. Some sheets are static in that no user input is required and others are dynamic so the toal number of pages per worksheet may vary based on how much information the user inputs.
An example:
Sheet 1 is static and requires no input, it does not have a header or a page number. For compliance reasons this sheet must be printed on top of all the other sheets in this policy
Sheet 2 is dynamic. This sheet can range from 2 pages to 5 pages depending on user input. This sheet must have page numbers starting with 1 and it must have a header on page 2 through the last page, but no header on page 1.
I am currently using a worksheet_activate sub to input data into the headers and footers of sheet 2. This works very well and puts the data where I want it to go just by using the "Different First Page" option in the headers design tab.
The problem arises when I select both sheets to print. Excel now thinks Sheet1 is the first page, so the first page of sheet 2 now has a header and the page number beings at 2 instead of 1.
Where I can stop this from happening?
Current sub:
Code:
Private Sub Worksheet_Activate()
' If WS is activated, place information in header
Application.ScreenUpdating = False
'Policy #
[Code] ..........
As I said, this works all well and good for when I'm just printing Sheet2 but when I have to print Sheet 1 & 2 together, it no longer prints the way it should. There are times when Sheet 2 will be the first page of the overall document but there are a few instances where it will be second to Sheet 1 and I run into this issue. Is there a way to specifically reference which headers/footers the code will input the data?
View 1 Replies
View Related
Aug 18, 2014
I would like to add some visual aspects to my lottery macro. Like numbers flipping through the range as they appear (and I can control how long they flip through the range) and maybe a little rand () function as the numbers are picked. How would I do this and where would I add these two aspects???
View 6 Replies
View Related
Aug 14, 2014
I imported a picture and changed the properties thus:
Lock aspect ratio is set.
Move and size with cells is set.
If I resize the picture itself, the aspect ratio is maintained - good. However, if I make the column narrower, the pictures width changes, the height remains the same and it acquires a new locked aspect ratio - bad.
View 4 Replies
View Related
Oct 14, 2009
I am trying to get an exact ratio in excel but am unable to do so. Example:
60,000/58000 = 1.03. The ratio should then be 1.03:1. But excel is showing this is 1:1. Here is my formula
PHP
=TEXT(E55/E56,"0")&":1" . I need it to show it to two decimals.
View 2 Replies
View Related
Sep 25, 2007
I'm trying to create a quote... basically I need to find out about calculating ratios.
We have 47 students going on a trip to different venues, we offer 1:10 teachers (i.e. one teacher free, for every ten students going), however some venues offer a different ratio e.g. 1:5 teachers free of charge.
I need to somehow create a column where it will calculate the amount charged for the different ratios the venues offered.
View 9 Replies
View Related
Mar 28, 2014
On the attached worksheet i have blocks of data in col C in chronological order,i wish to count the number of times related data in col AG is between 1 & 3 incl (highlighted in blue) ,the result to be expressed as a % in col V,eg block A =5,col AG has 2 event between 1 & 3,so col V = 40%.I have inserted empty rows between the data for clarity,there are no empty rows in the data.
View 1 Replies
View Related
Mar 2, 2013
I'm working on a plan with the objective to reach a 20:80 ratio from Team 1 to Team 2
The intent of the is get 80% of the work to be supported by Team 2, which currently has no team members.
Team 1 currently has 32 team members.
I am trying to to determine if I need to hire or re-deploy employees to from one team to another or to another program to achieve the objective.
The objective is to take Team 1, which is currently doing 100% of the work & reduce that work load to approximately 20%, which then Team 2 will be supporting approximately 80%.
I started a generic calculation but I believe it's wrong.
View 3 Replies
View Related
Sep 30, 2003
I have a spreadsheet that calculates Reward to Risk Ratio for the stock market investing. The formula is Target Price - Entry Price / Entry Price - Stop out Price.
The problem is the ratio often comes out to something like 3/4 or 7/8.
Is there a way to reduce the result down so that the first number is always a 1 to make it more clear but still maintain the ratio. For example, 1-1.3, or 1-7.8, etc.
View 9 Replies
View Related
Feb 14, 2007
can Excel make a Ratio of the results of one column against another ?
eg, Col A 2.00
Col B 1.00
in Col C, the ratio result is 2 : 1
View 9 Replies
View Related
Feb 18, 2008
Assign values to ratio buttons
I have created a UserForm in Excel, to gather data for a questionnaire.
For each question, the user must select an answer from a radio button (Yes, No and N/A)
When I add the record (answers) to the sheet1, the results are shown as all being false.
I want to show either ‘Yes’ or ‘No’ or ‘N/A’
Private Sub CommandButton2_Click():
Dim LastRow As Object
Set LastRow = Sheet1.Range("a65536").End(xlUp)
LastRow.Offset(1, 1).Value = UserForm1.OptionButton1.Value
LastRow.Offset(1, 1).Value = UserForm1.OptionButton2.Value
LastRow.Offset(1, 1).Value = UserForm1.OptionButton3.Value
End Sub
View 9 Replies
View Related
Jul 13, 2006
Need formula to calculate employee turnover ratio and if there is a place to get a free template to download?
View 9 Replies
View Related
Jul 29, 2014
with the following formula.
I need to find the median of Column C and Column H and then divide the median sum of Column C by the median sum of Column H. My data contains blanks so I obviously need to count cells with data only. I am trying to avoid hard coding any cells and am looking for a single formula.
View 1 Replies
View Related
May 6, 2007
Imagine the spreadsheet contain informations.
(For eg, columns A to Z all got contents)
Then i want to delete columns A, B, C, K,L,M, X,Y,Z
Problem faced:
When i delete A,B,C
D,E,F . . will shift to the left.. becoming A,B,C
I need to use macro buttons so that next time i dont need to remember what to delete and what not to delete.
View 9 Replies
View Related
Jan 20, 2007
is it possible to always have the entire combox highlghted?
View 3 Replies
View Related
Jan 17, 2008
I can’t seem to work out the formula for calculating a ratio using the data in the pivot table.
I’ve added a column next to the pivot table to work out the ratio between to columns.
=SUM(B11/C11)
But what if there is no data in cell (B11), I want to return a “ “ (blank space)… but it returns a #DIV/0!
View 14 Replies
View Related
Sep 30, 2009
I have a macro recorded that inserts into column E in the attached report, and then retrieves data from another worksheet in the workbook. In column D I am trying to keep a 6 month average which includes the latest inserted data, however every time I insert a column the relationship with column D is moved out by one. e.g. range E8:J8 becomes F8:K8.
I am also stuck with setting up a macro to import a new model into the report. I have set up a worksheet called new model with the manufacturer, model and fail descriptions, however all macros I have recorded fail when trying to insert the manufacturer and model into mulitple cells.
View 9 Replies
View Related
Mar 29, 2007
I want to maintain a history of exam results held on different dates
For this purpose I created a file with three sheets named Inputs, Working & result history. Description of all sheet is as follows :
“Inputs” Used as main Input file to feed marks for each subject on certain exam date.
“Working” Linked with sheet inputs and perform calculations ( total marks, % etc)
“Result History” Date wise history of exam results based on sheet (working).
Required Solution Steps:
1.Score entered for different subjects in Sheet “Inputs” for a particular exam date.
2.Obtained marks are totaled and score % calculated based on scores entered in sheet inputs.
3.Date wise history of exam results recorded based on working sheet.
To transfer/copy/paste results from “Working” sheet to “Result history” sheet I recorded a macro which is linked with a button. This macro copy record from working sheet and paste it as value to result history sheet....
View 6 Replies
View Related
Apr 23, 2007
This may seem like an odd request for help, and there may be other options that I am unaware of but....
I am looking to maintain a top header row and a bottom footer row. The sheet is 300 rows deep and If I put a freeze pane or split, the header or footer ends up scrolling off of the viewable screen.
The header range is A1:G6 The footer range is A301:G304. I am looking for 2 sub()'s. The first will check the DATA range A7:G300 and hide all empty rows between the header and footer ranges. The worksheet will display lets say 23 rows of data if the user needs to enter data in a new row I would like them to be able to run a macro that will hide the first data row and unhide the first empty data row below the last row that is not empty (in the data range), and a second macro that would do just the reverse. If there were any hidden rows at the top of the data range, the first hidden row above the first unhidden row would be unhidden, and the last row of the data range would then become a hidden row.
In essence it would allow the user to scroll through the data range and never loose sight of the header range & footer range.
View 4 Replies
View Related
Nov 27, 2007
I'm going to attempt to explain the problem I am having with a project in Excel. I have tried to search using several different terms but have not been successful in finding an answer to my problem. I came close with a MS help document entitled "HOW TO: Sort Cells Without Sorting Linked Cells in Excel 2000". But that document does not directly address the solution. I think there is a clue there but I can't figure it out.
What I'm trying to do:
I am trying to sort a data list that is one worksheet without affecting the links I have created to that data in a second worksheet. I have two worksheets; one holds the database, or list data; the other is a formatted price list where I have created links to the data in the first sheet. The idea is that I want to be able to manipulate the data in the data list and make changes to it while keeping the price list in a fixed format but with updated prices. I am using relative links and I have had some success in the past with these links automatically updating when inserting rows or cells, or moving the cell containing the formula. But this time I am trying to sort the data. When I sort the data the formulas in the linked cells simply point to the same cell reference as they did before the sort, producing the wrong results. I want the links to follow the referenced cells so that the results remain the same on the price list even when the rows in the data change position. For example:
The data on the worksheet named "Database" is in a list from A10:P65. I sort this list by two columns, first by Categories then by ManuPartNo. After I sorted the list I went to the worksheet named "Price List" and set up links to the cells in the data list that contained the correct information for my items. Some of my items are a combination of two or more rows from the data list. This works fine. If I make a change to the data in the list the price list automatically updates. If I insert a row or column to the data list the formulas on the Price List continue to work just fine. But, if I sort the data again, the formulas on the Price List no longer point to the correct cells in the data list. The formulas remain unchanged, but the rows of data move. I expected the formulas to update just like they do when I insert a row or move a block of data with cut and paste. Is there a way to force Excel to follow the rows as they move after a sort? Excel does this automatically when inserting rows. Why not with sorts? Where can I go to learn more about how to do this?
View 4 Replies
View Related
Mar 12, 2008
I am working on a macro to insert a row below if a cell with a validation list has an item from the list selected. The new row needs to maintain the same format and formulas as the original row. To explain this better I have attached a very generic spreadsheet Called Custom Order. In this example cell A3 has a validation list. If the user selects one of the items in the list... I need the macro to insert a row below and maintain the format and formulas found in row A3.
Also this is posted on another forum. http://www.excelforum.com/showthread...=1#post1893257.........
View 2 Replies
View Related
Aug 7, 2008
I am trying to create a spreadsheet to calculate the macro nutrient ratio of foods based on carbohydrates, proteins, and fats and how many units/servings I eat of each. I've attached the file I've started. It's fairly straightforward and simple, thus far.
I would like to be able to associate a food with its various nutritional data in its row (fat, carbs, sugar, fiber, sat. fats, protein.. etc.). With all of my food items entered, I would like to be able to choose from a list, have it prompt me for how many units I've eaten then plug it into my formula to calculate totals and ratios.. The final flow should go soemthing like this...
1. Select a food from a list (each food on the list has its associated characteristics)..
2. Select how much ( each food will have an associated serving size i.e. 1/2 cup, 1oz..) ---- (4) oz VS. entering each unit in A1
3. Make these totals of each characteristic feed into my final chart with which to track and graph.
View 4 Replies
View Related
Aug 24, 2006
I have what may be a math question as much as an Excel question. See my attached spreadsheet example in which I grow the denominator of a ratio by a fixed percentage until it equals or exceeds the numerator. This results in the denominator being grown X number of times.
View 2 Replies
View Related
Apr 20, 2013
I have a table that includes list of clients, products they order, and requested delivery date. When the client calls in to place an order, I pull up the excel table (orders worksheet) and fill in the items quantities and the required delivery date for the client who called. Once I fill the information for the client who called in, I need to update a "log" worksheet with the information that I just entered. The log worksheet will eventually contains history of all the orders which I received in the past.
View 1 Replies
View Related
Jan 3, 2014
I need to sort groups of data by a single cell in the group, compared to other single cells in other groups of data. The groups are always the same number of rows but vary in the number of rows. There is an example file below. The red is the company name and the green is what I need to sort the group by, as compared to the other groups. This example only has a few, the real file has thousands of groups. I want to sort the companies by the totals in green...they are currently in alphabetical order. There must be a way to do this without going the VBA option.
View 4 Replies
View Related
Apr 3, 2013
My current solution is to filter the Master Log so I only see Region 2, copy everything, then paste over Region 2, and repeat with 3, 4 and 5.
I have a master log (attached) that I import using Microsoft Query to 4 other spreadsheets (called Regional Logs), depending on the contents of the column "Region." I have all this figured out, but I can't figure out how to have the highlighting persist through the export and refresh. I don't think the attached file has any highlighting, but how I use this is I edit the Master Log throughout the week and highlight changes as I go. Coworkers use the 4 Regional Logs throughout the week to monitor different cases, particularly the new ones, so they need to see all changes for the week highlighted in yellow, which means the Regional Logs need to be linked to the Master Log and the highlighting must be visible any time a coworker opens the Regional Log. In addition, they are emailed across the state to county directors and they need to see the yellow-highlighted data, as well.
Currently, when exporting data using MS Query, no formatting persists. How can I ensure the highlighting persists? Or, is there another way to easily export the data, depending on the contents of the column "Region", which would allow the highlighting to persist
View 3 Replies
View Related