Change default font format in Excel
I have an existing workbook with cell text entries in regular black font. I
want to make a number of additional entries in various cells in this
workbook, and I want all my text entries to be a different font format (bold,
red). Is there a way to do this automatically without highlighting each
entry I make and manually changing the cell format? Thanks.
Copy the code below, right-click on your sheet tab, select "View Code" and paste the code in the
window that appears.
MS Excel MVP
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Cou...Date format issue when submitting from a userform to a spreadsheet
I have a userform that I've generated which routes dates onto a spreadsheet
based on the users input. I am having a bit of a frustrating time with the
dates, it would appear that in the process of moving the date from the
userform to the spreadsheet some dates are switched/transposed. I'll give an
example. If someone enters 09/02/2004 on the userform excel seems to look at
09 and assume it is a month and transposes the dates to 02/09/2004(this does
not appear to be a US/UK format issues as I have already gone down that
road). However, if the date 13/09/2004 is entered i...open/save dialog title broken
The title bar of any Office 2003 program's open/save dialog has just a
single letter. Any ideas what's broken?
...Pivot Table formatting #6
When I format my pivot tables I have "preserve formatting"
checked under "PivotTable Options", and "Autoformat Table"
unchecked. Even so, I either lose portions of my
formatting, or different formatting is applied when I
refresh. Does anyone know what I am doing incorrectly or
have any other suggestions?
Other things to try -- if they don't work, you could record a macro as
you refresh and reformat the pivot table. Then, run that when you want
--Instead of selecting the cells to format the numbers, right-click the
field but...how to save a resource
my program creates for example a PHP script file. So I can crete a file by
CFile and than use CFile::Write method. It's clear.
But because this file is quite long, I had this idea. Save this file to
resources and when I will need create this file, just load this file from
resources and save it to disk. Is it possible? I really do not how :-(
Thank you for your advice
See Using Text File Resources in VC++ By DGoins
Rodrigo Corral Gonz�lez [MVP]
http://vcfaq.europe.w...Help With Strange Error When Trying to Save Any Record
I am getting astrane error happens when try to create any new record
(Customer, Item, Vendor or Account), the system gives me a message that "Save
Operation Failed" and when i click "More Info" the error message is "Could
not find stored procedure 'DYNAMICS.dbo.aagGetCompanyStatus'", although i
have created alot of items, customers, accounts and vendors before but
suddenly this error appeared.
Any quick help will be highly appreciated.
It would appear that the AAG has something to do with a product produced by
American Association of Geographers. I...Custom cell formatting
I need to create a custom format for a series of cells that will begin like
I can't figure out what the code character is fora volitile potentially
Can anyone help me??
something like this might work for you but you'll need to put all the
leading digits in for the entry with the alpha character
"MDavison" <email@example.com> wrote in message
> I need to create a custom format for a series ...Auto formatting features: How do I align page numbers in publicati
I've got a problem with my publication. I can't align even page numbers to
the left without automatic moving the odd numbers to the left as well? Can
someone help me?
> I've got a problem with my publication. I can't align even page numbers to
> the left without automatic moving the odd numbers to the left as well? Can
> someone help me?
You need to create a two-page master rather than a one-page master. What
version of Publisher are you running?
Ed Bennett - MVP Microsoft Publisher
...how to turn off automatic format in Excel?
Excel automatically change the first character in a cell to be
uppercase. I just want lowercase. How can I turn off this function?
Go to Tools / Autocorrect and uncheck Capitalize first letter of sentence.
"ngoc" <firstname.lastname@example.org> wrote in message
> Excel automatically change the first character in a cell to be
> uppercase. I just want lowercase. How can I turn off this function?
I've always used MS Word as my email editor in Outlook. Is this possible in
Nope. I'm afraid that's only possible using Outlook.
In WLM you have to use the built in editor. Is there anything in particular
that's lacking from the built in editor that you're looking for?
"jrchambe" <email@example.com> wrote in message
> I've always used MS Word as my email editor in Outlook. Is this possible
> Live Mail.
"...Error saving a Shared Workbook
I have a user using a shared workbook and gets an error
everytime she does this ONE specific change. She deletes
a line and then saves and gets a message that
says, "EXCEL.exe has generated errors and will be shutdown
by Windows... blah blah blah". If she makes anyother
type of changes it saves just fine. I also had another
user do the SAME change and that person also got that
error message. When the file is changed to "Not Shared"
then the line is deleted it saves fine also. The problem
is obviously with the file itself and that is shared out.
can anybody ...Formating
In a Column 'A' sales Commission is calculated and resulta
is as 250, 200, 300, 330.
I wanted to format a cell with a Blinking colours where
value is 100 to 250, 250 to 300, 300 to 350 and 350 &
please help to format my sheet ... thanks
Getting your cells to "blink" is not in the standard Excel formats
What you want would require some extensive programming, certainly, ou
of my capabilities.
However, there are some great things you can do with Excel'
Let's say in column A you have numbers that are the result of formu...Date Format turn to Year
I tried to convert the date to YEAR and then the year plus 25 Years
=Year(A1) I'm getting the result 1900 instead of 1965.
I tried to add 25 years later to 1990 from 1965.
Your help would be much apprecated.
What's in A1?
Are you sure it's a real date?
> I tried to convert the date to YEAR and then the year plus 25 Years
> =Year(A1) I'm getting the result 1900 instead of 1965.
> I tried to add 25 years later to 1990 from 1965.
> Your ...Opening and formating a CSV file?
Could someone remind me how to handle CSV files please? I had assumed
the Text Import Wizard would pop-up when I use File|Open, but the data
goes straight into the worksheet. (Presumably because it is not
'delimited'?) Without the Wizard at my side, how do I get each
comma-separated field in its own column?
Terry, West Sussex, UK
Try renaming your .csv file to .txt
Terry Pinnell wrote:
> Could someone remind me how to handle CSV files please? I had assumed
> the Text Import Wizard would pop-up when I use File|Open, but the data
> goes straight into the worksheet...Problem access variable in On Format
I'm using Access via Office XP Pro.
I am trying to format the Zip Code on the detail line of my report.
I have tried the following lines of code in both the On Format event and the
On Print event:
If len([PostalCode]) > 5 Then
if len(Me.PostalCode) > 5 Then
In both events and either code, I receive the error message:
Access can't find the field 'PostalCode' referred to in your expression.
If I put "PostalCode" as the source of the report's control...Formatting Cells in Excel 97
Sorry if I sound real stupid but is there anyway that we
can control the column formatting in Excel 97 like let's
say column A = GENERAL(6), column B = GENERAL(4), column C
= TEXT(18) etc?
Appreciate any form of advice, thanks!!
I replied in the programming group. Are you seeking a programming
answer? It's usually best to only post to one group, and include the
remark "Please tell me if I should ask this in another group."
On Thu, 28 Aug 2003 00:56:47 -0700, "Daryl" <firstname.lastname@example.org> wrote:
>Sorry if I sound real stupid b...save imbedded pictures
Got a question...
If I try to right-click/SAVE a picture in an Outlook email the format
defaults to BMP even if it's something else such as an animated GIF.
There is a fix for a similar image save error in IE6 but I can't find a
repair for this in Outlook.
http://support.microsoft.com/?kbid=810978 addresses exactly this issue in
Does anyone know of a similar fix for Outlook?
I would love to be able to pull images from my messages without having to
forward them to an account pointed to Outlook Express (which will extract
images correctly on my system).
Thanks in advance!
...Save as Excel from Master Project
I am trying to export from a master project with about 8 sub-
projects. When I try and export from the master to excel, it does not
include certain text fields. Why? Any work arounds? I need the text
field (name) to use the excel sheet.
How are you exporting?
Data lives in the sub-projects, not the master. However, try expanding all
sub-projects and try again
Not all custom fields roll up to the sub-project tasks, so their data is not
available in the master.
For this and other reasons (including no risk of file corruption) I usually
create new masters every week but no...format a CD
Hi, how can I format a cd+rw re writeable disc
...prompting to save workbook every time (even when no changes made)
i have 3 workbooks all very similar and every single time i open any o
them, even when not changing anything, i am prompted to save th
its so bad that i can literally open the workbook then click the clos
button straight away and it STILL prompts me to save it because i
seems to think something has changed.
as far as i can see i dont have any macros or anything that will ru
every time it starts and change something (i did have a = today in on
cell which kept the date as today but taking this out made n
Message posted from http://www.ExcelForum.com
You prob...how to format and print labels from an excel file
I have an excel list of people with 12 cells of information. I want to
format and print "name tags" (labels?) using only the information in four
cells. How can I do this?
You can print labels in Excel but formatting can be a problem.
Best to use Word for the mailmerge operation and select the 4 labels to print
during the setup in Word.
For help on Word mail merge using Excel as the data source.
And a t...Remove format link?
Is there a way to remove the format link between fields in Modifier? Help
just shows how to set it and the usual stuff doesn't seem to be working.
...Saving a macro
I have an excell file which i want to be able to share, it has macros that
allow times to be added and saved. i was wondering if there was a way to make
this a file which cannot be altered, only info. added. like a template file,
to prevent deletion of the macros?
On 11 Jul, 05:18, Bill <B...@discussions.microsoft.com> wrote:
> I have an excell file which i want to be able to share, it has macros that
> allow times to be added and saved. i was wondering if there was a way to make
> this a file which cannot be altered, only info. added. like a template file,
> to prevent d...Word doc format
I tried to email a word attachment written on office for mac 2008 home version, but the recipient couldn't open the doc. recipient using windows xp.
email@example.com <firstname.lastname@example.org> wrote:
> I tried to email a word attachment written on office for mac 2008 home
> version, but the recipient couldn't open the doc. recipient using windows
If they don't have a recent version of Windows Office, they may not be able
to open a .docx file. Choose File > Save As and save as a .doc file.
Adam Bailey | Chicago, Illinois
email@example.com | Finge...Currency Format Lost in Union Query
Thanks to John Spencer, I resolved one problem in my union query (Thank you,
John). But I have another problem. Some of my fields in my union query are
currencies and others percents. I see both formats are lost. I am sure it is
a union query problem, because when I ran an individual query, none of the
formats were lost. Is there any way I can keep currency and percent formats
without writing, FORMATCURRENCY, etc for each field?
What data types are these fields?
The field in a UNION query will normally take on the data type of the field
in the first SELECT. So, if ...