Formatting Footers
Jan 27, 2010I am wanting to format a footer that has a cell reference using the below Macro:
View 10 RepliesI am wanting to format a footer that has a cell reference using the below Macro:
View 10 Repliesi have this printing format ...
View 14 Replies View Related, is there a way to create a somehow 'rich' footer. This image below is what I am talking about:
http://imgcash3.imageshack.us/img408/763/footerqk.jpg
where the number on the right is the page number.
I currently have it normally in my worksheet as in within cells at the bottom of the page, but it's hard to keep the same distance from the bottom-right of the page for each for all worksheet.
I am trying to print the file name as a header and the tab name as a footer automatically when i print an entire workbook. I am following the following steps:
File - Print - Entire Workbook - Preview
once I am in preview, I enter Page Setup and choose custom header (to print file name) and custom footer (to print sheet name). It works on some but not on all of them
It is company policy everytime we get a new client, we create a new worksheet. In the Header Top Left Section we always have "Client Name", In the top middle section we have "Subject" and in the top left Section we have the "User Intials" and " Date".
Finally in the bottom left section of the footer we have "Page of Pages".
Is there anyway i can get the header and footer to automatically update from a certain cell.
Example : B1 - Could contain the clients name, so it automatically is added to all headers on the workbook.
C1: Could contain the subject, so again it automatically updates the headers.
Could someone tell me is there a way to hardcode header or footer info into Excel so that it would appear with every document?
View 7 Replies View RelatedMy problem is that the data I want to add to the headers is in another sheet. Is there a way to modify this code.
1. Currently I have an excel sheet with macros that open other workbooks.
2. I select the macro to open a saved workbook. lets call it "apples"
3. I want to modify "apples" footers.
The data to insert in the header is located in my original workbook with the macros in a sheet called names. Here is the code I would like to modify:
Sub Create_Header()
With ActiveSheet.PageSetup
Dim lh_top, cntr_top, rh_top
lh_top = Cells(3, 2)
cntr_top = Cells(6, 2) & vbLf & Cells(7, 2)
rh_top = Cells(4, 2) & " " & Cells(5, 2)
.LeftHeader = lh_top
.CenterHeader = cntr_top
.RightHeader = rh_top
End With
End Sub
A little background on what i am doing. I have a spreadsheet that tracks when i have blown the dust out of our computers. I have set up conditional formatting so that the text turns red after 300 days and the cell turns yellow after 600 days. However, some computers are in high dust environments. I would like the spreadsheet to tell me to blow the dust out of these sooner. see the attached sheet.
dust 1.xlsx
I'm trying to analyse all of my bank statenments to see where all my money went!! I've got online banking so I thought it would be a relatively easy process of copying and pasting each month into excel.
Well, that in itself was easy, the problem is with the formatting of the financial numbers. Excel doesn't seem to recognise them as numbers, so at the moment I can't do any manipulation with the numbers. I have tried everything such as:
Format Cells > Number > Number and Currency
Copy and Paste Special > Values only
Copying into Notepad and back into Excel
Even if it appears to have changed the numbers to 'number' or 'currency' formatting by right justifying the numbers, if I try to add up the numbers using the SUM function, it doesn't want to know.
For some reason nothing seems to work - what am I missing?
For an example, I have attached a snippet of the spreadsheet with my starbucks transactions.
Is there "code" for different formatting in a spreadsheet so you can use an IF statement to do something like:
if(A1=blue background,"Yes","No")
or
if(A1=red text,"Yes","No")
etc.?? But replace "blue background" and "red text" with some sort of number code? I want to compile a list of the items that are formatted with certain background colors and/or text colors and then organize only those items into a chart.
Any VBA that I can put into a macro that will convert conditional formatting into fixed formatting..? So when the cell contents/formulas are deleted the formatting remains. Assume that the range I want to convert is A1:D200...
View 9 Replies View RelatedDoes anyone have a workaround for the following error "Excel Could Not Save All the Data and Formatting" Error Message (http://support.microsoft.com/kb/215783). I am applying validation to many, many cells
View 4 Replies View RelatedI wasn't sure how to properly title this post. I actually have a couple of questions. The main one is on how I can code my VBA so that for the range A11:N80 I have specific conditional formatting code, and then for O11:AB80 I have different conditional formatting code, and so on for 12 sections.
The conditional formatting reads column L (in the first section) for one of 6 different words and depending on which word is read, it fills the row from A to N with the corresponding color. I have this working, but I do not know how to do the same with with section O11:AB80 and so on. The actual formatting within each section will be the same but the data is different so different lines will be filled in. Here's my code so far:
I have a userform set up to create a new row on a worksheet and enter data that was filled out on the work sheet. Some of the data comes from text boxes which put in name, rate, division, received date, and loss date. The other info is taken from checkboxes and designed to put either an X or N/A, or just leave a column blank. Basically, what I want to do is figure out, when I make a new row, how to format that row to have borders around each cell, make columns 6-29 bold, and the cells in columns 6-29 colored with a gray background. If you need a dummy worksheet to better describe what I'm looking for, let me know. I haven't made one up yet.
View 4 Replies View RelatedHow do I keep the number format to general and change 0 (zero) to "-"
I dont require a formula soution but rather through formatting cells.
The following image shows the problem I am having with my formatting in excel. There's nothing in the cell featured to make the cell length longer, but the combo box still does what is shown in the image. any idea how to prevent this? it looks messy for an end user!
View 9 Replies View RelatedI am using Excel 2007.
I've created a database template that my partner and I will have on our laptops to use in the field. It is viewed in Page Layout.
When it is on my laptop, I show 30 rows on page one of the first worksheet. But on my partner's laptop it shows 29 rows. This messes up some of the formatting.
It isn't because he has changed anything. I sent my copy via email and a flash drive and opened it myself, and the problem still exists.
I am using the VLookup function with two seperate sheets. The first sheet is what I have created. The second sheet is one that was given to me.
I know how to build the format as I have done it numerous times in the past. This one only works if I copy the data into notepad, then copy it back into excel. Then it will work. I have looked at the formatting and I cannot see any differences.
way to get it to work without the notepad part?
I have a workbook that is used by others and has been working reasonably well for several years. The users are youngsters who tend to play with it when a bit bored but I usually manage to put things right. They seem to have done something special this time.
The formatting for dates, time and money has gone and I cannot correct it. I have tried the usual formatting of cells, painting formats from other sheets, copying and pasting formats all to no avail. The whole sheet is effected so that new entries appear the same way although the correct format appears in the formula bar.
I don't know if this is relevant but the sheet relies on VBA form inputs. The code is password protected and only I know the password.
The PC is not connect to the internet or a network so I have ruled out a virus. (As far as I know, no floppies or USB sticks have been used on it either.)
In a column, there are 4 option for each cell -
"PAYMENT DUE"
"PAID"
"UNDERPAID BY..."
'OVERPAID BY..."
These are filled in by a formula
I would like to make them 4 different colours but excel only allows 3 options
I have a large list composed of three columns, First name, Last name, and Email address. For the most part names and emails match up perfectly but there are an unknown number of names that do not match their email address. Here’s the hard part, email addresses are in different formats for example:
some are firstname.lastname@somewhere.com but others can be lastname.firstname@somewhere.com or some email addresses are first name initial then full last name with no dot separator @somewhere.com and even turned around like Last name initial then first name. For the most part this is the only four ways the emails are configured but all email addresses have some variation of last and first name in them.
How can I find the number of email addresses that do not match their names?
I warned you that it was hard.
I have a hard time when it comes to "If then" statements and conditional formatting. I have some data that I am collecting and entering into a spreadsheet for a couple different companies. Once I receive paperwork from those companies for the data collected I mark the data with a blue colored text. I would like to have a second sheet that generates what companies have not sent me their paperwork. "If the data is black text, then generate <name of company> on second sheet." The list is small right now, but as the project continues it will grow very large and it will become difficult to track. I will attach a copy of the spreadsheet for you to see the situation. I would like to learn how to do these types of formulas, is there a tutorial geared towards these types of situations?
View 2 Replies View Relatedi have an application that can export tables to Excel. But in Excel, the data is only recognized as text, and not as or numbers. A typical column looks like this:
$300,40
$500,23
($350,00)
etc.
An amount in brackets signify a negative amount. Is there an easy way how i can convert this cells into numbers i can work with in excel? I have a similar problem with dates, times and cells with both date and time in them.
If i have a table like the one below.
A1 B1
1 Snot
0 Cheese
0 Pie
0 Bacon
1 Tree
0 Breakfast
1 Hair
0 Tidy
1 Box
How do i use vlookup to give me list like below
A1 B1
1 Snot
1 Tree
1 Hair
1 Box
I am doing a golf predictor where I am using all 3 sheets in a spredsheet.
In sheet 1 I have the teams of players my friends have picked.
Sheet 2 I have the prgressive scores for each team done on a weekly basis.
Sheet 3 I have the names of 56 golfers and the points each can win for finishing anywhere between 1st and 22nd in a competition.
What I would like to know is there anyway I can replace the values 1st to 22nd with points (i.e., 1st = 400 2nd = 340 3rd =310 and so on down to 22nd) also is there a way I can transfer values between sheets.
-To have the text alignment as centered; and
-Have a shading in it (as per the row)
I have attached a spreadsheet so you know what I mean.
For instance the row in which the combo exists, is shaded blue, is there a way to make the box the same shading too?
In cell c23 i am trying to return a date which is in cell h4 and then the word "to" and then another date in cell l4
the formula i have is
I'm looking to see if I could use any sort of formula to have 1 number appear Red and another number appear Black all in one cell
In 1 Cell: 80 (75-95)
I'm looking to use this formula, where I'd like my A1 to be Red
=A1 & " " & A2
I seem to have a problem using conditional formatting with Vba in Excel 2003
When I run -
i m having problems with a simple formula but i cant get it right
in cell a1