Excel-how (find/replace) for multifmat cells w/o changing fmat
For a client, i need to be able to find and replace words in cells with 2
formats. But when you replace them,it changes the format of the whole cell,
and not just what you changed. Is there any way to work around this without
changing the format after all of the find and replaces?
Saved from a previous post, but this one has some wordwrap problems fixed:
I think you'd have to keep track of each character's font attributes.
This works very slowly, but works:
Option Compare Text
myChar As String
myLen As Long
myName As String
myFo...Pivot table and counting.
I have a pivot table that gives me the number of rides done by a van. I can
have the pivot table return the number of rides, but what I need is the
number vans that participated for a certain day. Example, it is possible to
have 27 trips done by 18 vans, how can I count the number of vans and not
addup the van number?
Any help appreciated.
We need a bit more information on how your source data table is set up.
What information do you have in each column?
sacredarms <email@example.com> wrote:
> I have a pi...Excluding Rows During Printout
Is there a way to automatically exclude rows when printing an Excel
I have a list of items (in two colums) in a work sheet similar to
Task A: 1
Task B: 0
Task C: 2
Task D: 0
Task E: 0
Task F: 0
Task G: 4
Task H: 1
When I print the worksheet I only want to print lines where the time
cell is not zero. So the printout from the previous data would look
Task A: 1
Task C: 2
Task G: 4
Task H: 1
Is there a...how to make cells automatically format to entered text size?
i am new to excel and i would like to have it resize the cells automatically
to the size of the text i entered. i know if i click on a cell and do format -
line break it does it for one cell. but how can i have excel do this
automatically for every cell in every workbook?
Hit CRTL + A to select all cells.
To make this the default for all new workbooks and sheets....
Open a new workbook. Customize as you wish. File>Save As Type: scroll down
to Excel Template(*.XLT) and...text box printing problems
I have created text boxes using the tool bar, however when I print the sheet
or even print preview it moves all the text boxes to the left when it returns
to the normal view. I do not want them to realign, but have tried everthing
and can not figure out why they are doing this.
Controls move to the left of the worksheet in Microsoft Excel 2002
But Jim Rech recently posted this:
This article is now obsolete. Since the 10/12/2004 security patch
there is no need to get a hotfix (although this article does not directl...Set RN = Range(Cells(2, 1), Cells(r, 1)) error
What wrong with this. It create error. How can I improve to get rid the
Set RN = Range(Cells(2, 1), Cells(r, 1))
Too much missing information - has r been declared and what data type is it
and what value does it have. What property of the range are you trying to
store in the variable RN? What type of variable is RN and has it been
> What wrong with this. It create error. How can I improve to get rid the
> Set RN = Range(Cells(2, 1), Cells(r, 1))
&...Import text file from MS Word into MS Publisher.
I have created a text file in Word and a photo file in Publisher and would
like to merge the two. When I imported Word, it seemed to be totally
separate from the Publisher document - 7 pages of Word and 8 pages of photos.
I want the Word pages to precede the Publisher pages.
How is this done?
>I have created a text file in Word and a photo file in
Publisher and would
>like to merge the two. When I imported Word, it seemed to
>separate from the Publisher document - 7 pages of Word and
8 pages of photos.
>I want the Word pages ...Cycle Counting
I am looking for ideas on how to cycle count serial
number tracked items without increasing workload. Our
serialized items are barcoded but the problem is the are
situated on the pallet incorrectly and the pallet is
placed on a third level of a racking system.
If we could just cycle count based on item count
and not include the serial number it would make it easy.
Is this possible in Great Plains. We are running Great
Any suggestions are greatly aprreciated.
I would like to know how which formula I should use to count some codes & to
ignore the duplicated codes, for example in column A:
Now, I want Excel to count & the result is 3 which are:
Yes I can use PivotTable, but I would like to use a formula because I have
to deal with this every day.
I appreciate your support.
COUNTIF will do it.
=COUNTIF(Rng,Rng), where the criterion is the same as the range:
> I wo...change highlight color on active cells
How do I change the active highlight color of an active cell.
Only though VBA.
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Static OldCell As Range
If Not OldCell Is Nothing Then
OldCell.Interior.ColorIndex = xlColorIndexNone
Target.Interior.ColorIndex = 6 'yellow
Set OldCell = Target
This is sheet event code.
Right-click on the sheet tab and "View Code". Copy and paste into that
Chip Pearson has a great add-in named Rowliner.xla that will make the
highlighting available for all sheets and workbooks.
The code above w...Adding Text to Charts
I have created a chart in Excel that tracks one of the
stock indexes. I have been able to point arrows to
specific days and add text so I know what was the reason
the stock index was up or down on that day.
However, as my chart expands the arrows and text are no
longer associated with those day I initially intended it for.
Is there any way in Excel to associate text with specific
day and have it attached so that if the chart grows or
shrinks it will always be associated with that particular day.
The trick is to group the graphic element and the chart. When adding a
graph...format cells #4
hi. how can i set by default the cell formatting to 'general' or
'number' or even 'text'?
i mean i dont want excel to correct let's say: 1.5 to 01.may or 9/12 to
09.dec. is this possible?
(i have some programs which export data to excel and instead of numbers
in excel appear dates and i can't set the cell format before the data is
notrace2004's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=34817
View this thread: http://www....How do I count the # of times a value reoccurs and plot it over ti
I wish to plot a number of errors made by each users and compare it over
time. I have a column of user ID's and a column of dates. I want the chart
to count the number of times each user ID appears and plot against it's
corresponding date. However, each time I try to do this, the chart appears
wrong. Any ideas?
In article <9595B2A1-8282-4AB3-8511-A6776E108164@microsoft.com>,
> I wish to plot a number of errors made by each users and compare it over
> time. I have a column of user ID's and a column of dates. I want t...To keep in just one cell all values related to a monthly rate
I have to update in a monthly basis a currency rate.
I know that there is a function, formula (or something like that) to link a
month descripton to a number.
I would like to select correspondent month and the cell be updated with the
Data Validation dropdown list for choosing the month combined with a lookup
table and VLOOKUP function.
For help on creating data validation dropdown lists see Debra
For help on VLOOKUP to populat...configure text box
I recently upgraded to Publisher 2003. I can't find how to configure text boxes to overlap each other and keep the text in the same position. In my old version, there was a "check" box in the format text box to allow for this. I've tried different wrapping options in 2003, but can't figure it out.
You never have been able to do this in any version of Publisher.
You are dreaming about a Text Box - never existed.
You either have to place one Text Frame on the Background (Ctrl+M) or
convert one to a graphic.
"If you don't know where you are going,
any road...Can I limit a cell to 2 characters?
Is there a way in Excel to limit the number of characters in a cell?
By checking the length of the cell
in your custom validation.
Look for Data Validation on Debra Dalgleish's site.
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
"Frankc" <Frankc@discussions.microsoft.com> wrote in message news:842747F1-1792-4BB5-B3CE-707C7CC5F88F@microsoft.com...
> Is there a way in Excel to lim...Line count
I am working with a program called Dictaphone. We use Word 2007 in this
program. The line count on Dictaphone and the line count in Word 2007 are
different even though the Dictaphone text is retrieved from Word 2007. Why
would they be different?
What is the difference between virutal line count and physical line count?
...Formatting cells in Excel with Ascending/Descending order
I am trying to insert a drop down asceding/descending arrow in the cell of
the excel document. When you click on the arrow which is a small box on the
right side of the cell, it will organize all figures/data in that column and
you can choose between ascending/descending, or how you want to organize it.
...Simple...Update Text Box in Chart
I have a chart in an MS Excel worksheet and I would like to change the
value/caption of a textbox( Text Box 20).
I have only been able to change the title of the chart with the
.HasTitle = True
.ChartTitle.Text = "Summary of Report" & date() 'Add
Do I have to reference the chart or do I have to reference the textbox
If the shape is actual embedded in the chart object then something like,
ActiveChart.Shapes(&quo...count number of characters in rich edit control
How can i count number of characters in rich edit control 2
If u mean controls of type Rich TextBox control, try
"Rahul" <Rahul@discussions.microsoft.com> wrote in message
> How can i count number of characters in rich edit control 2
EM_GETTEXTLENGTHEX, WM_GETTEXTLENGTH, WM_GETTEXT, EM_STREAM*
"Rahul" <Rahul@discussions.microsoft.com> wrote in message
> How can i co...Read values from excel rows
I am trying to read the values from a excel row. There are 89
columns for each row and same number of data in each rows.
You need to explain how/where you want to read them.... From another workbook, another worksheet, a
VBA function, a macro, a C# application?
MS Excel MVP
"shantanu" <firstname.lastname@example.org> wrote in message
> I am trying to read the values from a excel row. There are 89
> columns for each row and same number of da...Text to Columns 06-01-10
I have a column where I have names and surnames. I want to put name in one
column and surname in anoter column. In order to do this, I use Text to
Columns, but I have the following issue: if the cell contains for example
Juan Pérez, it works ok, but when the cell contains Juan De los Santos, it
assumes there are three surnames, and then put me one word in each column.
This is the result, with the example mentioned:
A B C D
Juan De los Santos
How can I indicate that...Counting sales
I have two different datasets. Each with a common identifier. I need a
formula that will reference the identifiers in both datasets and count the
number of sales a particular agent made. Example. look up this identifier
in the other dataset and then give me the value that is 2 columns over from
the identifier in the second dataset.
See if this helps:
Microsoft Excel MVP
"Dave" <Dave@discussions.microsoft.com> wrote in message
>I have two...Disappearing text
When I paste some text from a web page into Word 2007, I can edit the text
but it does not print. It does not appear in print preview either. However I
can read it in Word. I notice the text has underlining. What gives?
Sounds as if the text is formatted as hidden. Select it and clear the
"Hidden" option in the Font dialog box (Ctrl+D). If you see a filled box
(instead of a check mark), just click the option twice to turn it off. (The
filled box indicates different settings in the selection; for example, some
text may be hidden while other text is not.)
Stefan B...Filename in Excel Cell Address
Is there a way to insert an excel spreadsheet filename into a cell within the
same spreadsheet, like the &[File] command in the Header/Footer screen?
"RickS" <RickS@discussions.microsoft.com> wrote in message
> Is there a way to insert an excel spreadsheet filename into a cell within
> same spreadsheet, like the &[File] command in the Header/Footer screen?