How To Put Worksheets In 2 Lines Or More
Jan 14, 2009Is it possible to have worksheets in 2 or more lines at the bottom of excel window?
View 9 RepliesIs it possible to have worksheets in 2 or more lines at the bottom of excel window?
View 9 RepliesI would like to reduce the size of a macro, but not managed to have success.
My goal is to just have the cells of these worksheets (in the code below), selected
Code:
Sub SumazeCode()
Sheets("PEDIDO 2013").Rows("42:67").EntireRow.Select
Sheets("Print_Cliente").Rows("32:45").EntireRow.Select
Sheets("Print_Producao").Rows("30:43").EntireRow.Select
Sheets("Print_Orcamento").Rows("32:45").EntireRow.Select
Sheets("PEDIDO 2013").Rows("C43:D43").EntireRow.Select
End Sub
I have spreadsheet application which have a ton of sheets and macro into it, and i work on devlop and program it , and add new feature and codes
i wana Module_Macro to find and replace lines of vba code and replace it with lines of codes .
i know ,i should use vbide and vbcompnent , but i dont know from where to start ?
I need to delete line if 2 conditions are meet.
If col A is blank and col D or E is blank then I want the line deleted for lines 1no more than 100 The option of D or E has me stymied I end up with it not working right. This is what I had tried
Dim lastrow As Long, c As Long
lastrow = Cells(Rows.Count, 1).End(xlUp).Row
For c = 1 To lastrow
If Range("a" & c).Value " " and Range("d" & c). Value " " or Range("e" & c)Then ActiveSheet.HPageBreaks.delete
Next c
But doesn't work
I also need macro to run multiple worksheets which varies anywhere from 12 sheets to 50 sheets.
I have one excel file sheet in which we enter client data and another page in the same file that formats the data. Each new row is another client.
It is a simple formula in the data formatting sheet ='data sheet'A23 for example.
The problem is when we add client data above A23, say 2 rows, the format data page will follow the original cell and now say ='data sheet'A25.
How do I keep the cell as ='data sheet'A23 no matter what I do the original page?
I have read that there is a VBA macro in F11, but I also read that it would only sort the workshhet names, but not the data. I have Excel 2010.
View 2 Replies View RelatedJust need to delete some hyperlinks in column A on 50+ worksheets. Thought a loop through all the worksheets would do it. Only works on active sheet. Forgive my ignorance, don't really even know where it goes, once it works - module or workbook?
View 2 Replies View RelatedLet's say I have a workbook with 7 worksheets named, for example, "Instruction", "Begin", "Worksheet 1", "Worksheet 2", "Worksheet 3", "End", and "Data". (in that order)
What I want to do is run a macro to go to whatever worksheet that is in between "Begin" and "End" and copy, for example, cells $C$1:$D$10; then paste as formula into worksheet "Data" starting from cell C1 and then down a list (i.e., copied cells from "Worksheet 1" get pasted as formula into "Data" cells C1:D10; then copied cells from "Worksheet 2" get pasted as formula into "Data" cells C11:D20, and so on and so forth).
But if I were to add more worksheets (e.g., "Recipe" and "ToDo") positioned in between "Begin" and "End" and run the macro again, it'll either 1) re-copy all the formulas from the included worksheets back into "Data" including the formulas from the newly added/placed worksheets or 2) it'll add the formulas from the newly added/placed worksheets and paste into "Data" at the end of the list.
Can create the macro to run based on the position of worksheet, and not based on the name of worksheet, since ultimately there will probably be over 10 worksheets between "Begin" and "End".
I'm trying to perform the same process to all the worksheets in my workbook. This is the code I have now, but it will only apply to the single active worksheet:
View 2 Replies View RelatedHow do I modify this macro so that the worksheet array will select all the worksheets except sheet 1?? My workbooks will have varying numbers of worksheets ...
View 3 Replies View RelatedI have a sheet which looks a bit like this
Day
A
B
Day
Cost A
Cost B
[Code]....
For each column with a header A, B (these are people), 1 in their column represents they works that day on a project. The day columns are days of the week, and people cost different amounts on different days. I need to work out the total cost for each person for the working period.
The cost for the first day for person A is =if(b2=1,vlookup(a2, f2:h8, 2),0)
How do I sum the costs for each day in a single formula without creating a cost per day column for each person i.e. sum each line of vlookups?
I have two rows of data, each row also have similar data. I need to find the number of matches that the two lines For example :
7,7,K,A,8,7
K,6,7,7,A,9
To reach the conclusion I need to build six such functions:
=1*(COUNTIF($A$65:$F$65,A66)>=COUNTIF($A66:A66,A66))
=1*(COUNTIF($A$65:$F$65,B66)>=COUNTIF($A66:B66,B66))
=1*(COUNTIF($A$65:$F$65,C66)>=COUNTIF($A66:C66,C66))
=1*(COUNTIF($A$65:$F$65,D66)>=COUNTIF($A66:D66,D66))
=1*(COUNTIF($A$65:$F$65,E66)>=COUNTIF($A66:E66,E66))
=1*(COUNTIF($A$65:$F$65,F66)>=COUNTIF($A66:F66,F66))
The result is 4
Is there a single formula that will give the result ?
Another question, is there a formula that I can compare to the principle of one line against the 20 lines ?
i have a list of about 2,000 rows of text going down vertically, but out of that 2,000 there's only about 1,500 actual items - the rest are duplicates.
how would i go about eliminating the duplicate strings of text quickly?
I need a msg to pop up when a worksheet opens. Pretty simple:
Private Sub Workbook_Open()
If MsgBox("My msg goes here!") Then
Exit Sub
End If
End Sub
But I need to be able to have multiple lines, maybe a short paragraph.
How do you get it to allow additional lines?
In Column B I have some measurements. These are measurements. I chart them in a line graph. I also have my max and min over in some other cells. These aren't the min and max of column, but these are what I have set the min and max at. To make this clearer, my max is 27, but the data in Column B could be anything....20, 28, 35, 15, etc.
I want to plot my data in Column B just as I am currently doing. However I also want to plot the min and max on that same line graph and show them has horizontal lines going across. That way, if one of my numbers is above the max (or below the min), you will be able to see it on the line graph.
Here's what my data looks like. The Viscosity (column b) is what I'm charting on the line graph and you can see the min and max data that I want to plot as well.
Sheet1
*
A
B
G
H
I
J
2
Batch No.
Viscosity
*
*
Min
Max
3
4028634
26.7
*
Viscosity
21
27
[Code] .......
There are four lines of numbers, in all line 8 numbers.
1 1 2 2 3 1 1 2
1 2 3 1 2 2 2 1
2 1 1 3 1 3 1 2
1 2 2 2 3 1 1 2
I would like to find a function that will examine, if there are similar lines according to my definition, and several.
my definition is 7
For example that I gave, the result in the wanted function needs to be, yes (Line 1 and line 4) and several-One time.
I have a file that contains at least 35 sheets. All of the sheets have some lines that are hidden. I tried selecting all the sheets and unhiding everything but it didn't work because some sheets actually have filters in them and the filter line is also hidden.
View 9 Replies View RelatedI have a text file which is wrapped and i am trying to read it through VBA. I want to combine wrapped lines in one line
for e.g.:
abcdefgh
ijklmno
pqrstu
vwxyz
need
abcdefghijklmno
pqrstuvwxyz
How to get together all duplicate lines? ...
View 9 Replies View RelatedI need a macro that add's after each 9 lines 2 new rows. The data I've it's not the same every month, one month I can have 27 lines the next one I can have 90 lines for exemple.
I need also to calculate in one of those added rows this "=B8+B4-B6". This calculation is to be apllied in each block of nines lines.
I manually added a center header to my report that take 4 lines
So I would like to repeat this using vba
Line1: Looney Tunes, Inc.
Line2: Bugs Bunny Subsidiaries, Inc.
Line3: Consolidated Rollup
Line4: FY 2007
Furthermore, I would like to read this from cell(s) as at least a 52 page report
and lastly I would like to alternate font sizes
Line1: 18 pt
Line2: 18 pt
Line3: 16 pt
Line4: 14 pt
I like to create a float chart in excel. for this purpose I need to have a candle chart and add lines into the same chart. I can create a candle chart in excel. But as soon I add lines to it (additional data rows) the candles are distorted. The principle I'm interested in applies as well to: how do I add moving averages into an excel candlestick chart? As soon as I add the data for the MAs, the candles are distorted.
In short: how do I combine candles and lines in one chart?
Recently I work on a project involving various formulas and functions in it.
At this moment I am trying to add some option to my file and I will explain briefly.
I intend to include formula which will number the cell in a line (row) when it is filled with some data.
I guess it is connected with array formula and also may be COUNTIF function but could not figure out how to use it.
I will upload a sample file which will show the idea.
Sample file: Number the lines.xlsx
I have an excel document that looks all nice and pretty except for the little white grids all over it with unused cells. Is there anyway to hide the lines? i dont care that the cells are there just the lines make the form look kinda crappy.
View 4 Replies View Relatedi really dont know how to do it. remove these lines in excel sheet???
View 2 Replies View RelatedI have created a quick flowchart in Excel 2007 using the shapes and elbow/line connectors. All looks ok when on screen but when I move to the print preview, the elbow connectors used to loop back (horizontal, vertical and horizontal in opposite direction) in the process jump out of position.
If I print, it prints as per the print-preview.
Have alook at the screengrab showing regular view and print-preview.
Is there any way to fix the position of these lines?
Supplementary question: is there a straighforward way to creat a line break or crosssing?
I'm having an excel sheet with addresses. I need to copy some lines of the first sheet to the other sheet. Between the lines I want to copy there are 7 lines which shouldn't be copied.
I created the following macro which does the job: ...
How do I turn them off? I go to print preview, then leave, and I have ugly lines all over the place showing where the end of the page is. My entire team can't figure it out. where I can turn this option on/off?
View 2 Replies View RelatedI have these light blue lines showing up on my sheet. I have "not boarders" selected and they do not print - but I can see them on the screen. Does anyone know how I can get rid of them?
View 3 Replies View RelatedI need to turn millions (I'm guessing around 4-5 million, though I'm not completely sure since I don't have a program that can actually open the file completely since it's so large) of lines of text which are formatted like this:
05/15/09 09:45:01 AM 16600 1
into lines which are formatted like this:
20090515 094501;16600;1
I could do it by hand, but since there are literally millions of lines like this, it would probably take me about a year to do. So my questions are:
1. Is there a way to do this relatively quickly in Excel?
2. When I open this file in Excel, the year and time tabs aren't filled in with the year and time, but simply with "#######", though if I click on the cell, the year or time is displayed up in the "fx" function bar thing. Is there a way to keep these cells from displaying as "#######"?
3. Right now when I open the file (it's a CSV file), it only opens a little over 1 million of the lines, and an alert pops up that says the entire file was not opened. Is there any way to get the entire file to open? If not, how could I split the file into pieces that are small enough for Excel, and then how could I join those pieces back together?