Insert row(s) with vba
I'd appreciate some help to determine if I'm attempting the impossible...
We have a workbook to generate proposals. Each proposal contains numerous
sections. Each section has many line items. The first item in section 1 is
numbered 01-001, the next 01-002 etc. The 01 is the section number, the 001
is the item number. Iuse the formula:-
to automatically generate the item number row by row. The value in $A$2 is
the section number. This way I can use vba to insert a ro...How do I print a list of the directory contents
I need to print the disk directory contents. In DOS this was possible. Is it
possible in WORD? Thanks
No - but you could use the freeware Printfolders utility you can download
from my web site that will produce a text listing that you can open in Word.
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <...Excel macro to insert rows if a cell does not equal the value above that cell
I have a spreadsheet listing columns of information for many different
people. If more than one row exists for the same person, I'd like to
insert 2 rows after the row so that the group is separated from the
next group. For example, here's how the data appears now:
LastName Account# Balance
Martin 1 500.00
Martin 2 750.00
Smith 5 100.00
Thomas 9 900.00
Here's what I'd like it to look like after running the macro:
LastName Account# Balance
Martin 1 500.00
Martin 2 75...printing copies
under print options: Number of copies___. It will only print out 1 copy. I
say 5 and it still prints out 1. I am a new user of 2007 Excel
I suspect the problem is with the printer.
Try getting the newest driver
Bernard V Liengme
Microsoft Excel MVP
remove caps from email
"Val in Texas" <Val in Texas@discussions.microsoft.com> wrote in message
> under print options: Number of copies___. It will only print out 1 copy.
> say 5 and it still prints out 1. ...Creating a Formula to Format Column automatically?
Hello. I'm trying to figure out a way to create a formula or a macro t
run on a column in my worksheet that says basically IF COLUMN D SAY
JOE BLOW, THEN COLOR = GREEN, IF COLUMN D = SALLY SMITH, THEN COLOR
RED, IF COLUMN D SAYS MIKE IKE, THEN COLOR = BLUE.
Anyone have any ideas or suggestions? :confused
bludovico's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1480
View this thread: http://www.excelforum.com/showthread.php?threadid=26434
Look at Conditional Formatting in...Create row lower border that looks like "accountant single" underline?
I'm trying to format a spreadsheet so that a row has a lower border that
looks like the "accountant single" underline - something like this:
___________ __________ _________ ________
instead of a continuous line like this:
Is it possible to do this as a border? The accountant-single underline
(applied as a font attribute) only displays if there is data in the cell,
and I want it to be there whether or not there is any data.
Many thanks for any help with this.
"Edward Mendelson" <edward_mendelson@z...Copy buttons by rows
I'm learning Excel by myself and I've run into something I can't figur
out. I have a button at the end of a row that takes 4 seperate cell
from that row and puts them in 4 seperate cells on another sheet.
want to be able to make 1000 buttons that will be at the end of eac
row that takes the data from that row and puts it on another sheet jus
so I can print it, but I don't want to make them one at a time. Unles
there is another way...
Optitron's Profile: http://www.excelforum.com/member.ph...Ghosted print and print preview
I have a problem with printing in excel. The print and print preview options appear ghosted. I still can print through the print icon on the toolbar. Any suggestions???
...Print Dynamic Range
I have a basic excel template used for ordering parts. It runs from A1:N250
and I can print easily repeating rows 1:11 on each page (contains job details)
. Trouble is sometimes there may only be 10 part numbers requiring only first
page and I finish up throwing away trees by printing entire sheet! I know I
can reset print area each time am setting this up on Sharepoint for multi
users and need a macro/button to recognise number of items and print
accordingly. Any help greatly appreciated
Message posted via http://www.officekb.com
'change this cons...TCP/IP printing
Hello, I have a networking question. I have a print device with a
static IP address on one network. A computer on another network can
connect to the printer (NBT is enabled and so is LPR) and the drivers
are installed but cannot print. I know this is correct behavior but
want to know in detail why it seems to half work. I am guessing it
has to do with port 138,139 and 515 but not positive. Probably a
better question to ask a networking forum but hey.
can you access the printer through the printer IP address?
:D Just chill
-pls post your feedback on...highlight row #2
Is there any way to have excel automatically highlight the row of a selected
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
.LineStyle = xlContinuous
I am producing a 50 to 60 page booklet using Pubisher
2003. The page format will be using 8.5 x 11 paper
folded in half. I need to print both sides of the
paper. How do I print the booklet so that I print half
the project on one side of the paper and the other half
on the back. Will publisher keep track of the pages so
that for example; that page 2 and page 50 print on the
same side/sheet of paper so when all pages are printed,
folded and bound the book reads correctly.
more info...I am using a single side printer so I have to
run the pages through twice ...Check printing in GP 7.0
I have check payments for vendors, where I'm dealing with
LOCAL CURRENCY & FORIGHN CURRENCY. When I paid by check in
LOCAL CURRENCY then the amount in words prints perfectly
but if i paid by check in FORIGN CURRENCY then the amount
in word prints in numeric which i want to print amount in
words instead of numbers.
Please help me to print checks amount in words for FORIGN
CURRENCY as well.
Your suggestion would be appricated on above issue
...How do I change color of cells, columns and rows in Excel?
I cannot seem to be able to change the background colors of columns, rows and
cells in Excel. I had no problem when I was using Office 97.
How can I do this with Office 2003?
Can you see the colors when in Print Preview or when you print the worksheet?
If this is a problem with all Excel files, the Windows OS
high contrast setting may be turned on. There is information in the
following MSKB article:
OFF: Changes to Fill Color and Fill Pattern Are Not Displayed
Gord Dibben Excel MVP
On Mon, 10 Jul 2006 19:20:01 -070...Excel BUG (All Versions) Excel Macro Margins using Print Preview
Where can i post this BUG? (Excel Macro Margins using Print Preview)
Is there an Excel BUG reporting site?
1) New worksheet, write something in it
2) Start recording a new macro
3) File -> Print Preview
4) Click on the Margins Button, the page margins will appear, so that you
can visually change and move them
5) Set one or more margins
6) Close the Print Preview
7) Stop the Macro
What happened is that in the VBA code there will be writtenthe following
..LeftMargin = Application.InchesToPoints(0.91)
..RightMargin = Application.InchesToPoints()
Where in second line ther..."Tiled" print setting.
I just want the page that I designed to print on one page! I can't change the
print setting "tiled" and as it is, it's printing on four pages all broken
It is possible that you have created your document on a paper size that is
not supported by your printer. Try changing your paper size to 8 1/2 by 11
and see if the print options are more to your liking.
"MissMarple" <MissMarple@discussions.microsoft.com> wrote in message
>I just want the page that I designed to print on one ...CHtmlView and Printing
The CHtmlView is giving me alot of head aches. Here is what I am doing. I
am opening an XML file (being formatted using XLST) in a hidden CHtmlView
and printing it.
Here is how the process goes:
1. I create the XML file on the fly.
2. load the XML file in to CHtmlView.
3. Once loaded I tell it to print the resulting HTML page.
4, I need to delete XML file after the printing is done. (this is the
I can't figure out how to find out when the CHtmlView is done printing.
CHtmlView::OnFilePrint is asynchronous. And CHtmlView doesn't tell me that
it is currently p...Problems with printing
I have an application, which has been working without problems for the last
7 years. The application has some printing capabilities. Now, we have just
gotten a new printer (HP Laserjet CM4370), and when I try to print, my
The app crashes in the print setup dialog even before I press OK. If I
select any other printer as default printer, the app doesn't crash. Then I
can show the print setup dialog without problems. But then, when I select
the CM4370, the app crashes again, even if I do not press OK.
Even if I choose to not show the print setup dialog, and j...Printing--How not to Print Bkground
In my wrksht there is a cell range highlighted with an
autofill color. We use this to show the user where to
enter the data. Is there anyway to avoid printing this
background color. We want to keep the color in the cell
range in our wrksht but we dont want it printed.
Hi Jeff, have you tried Print preview, Setup, Sheet, Black & white?
"Jeff" <firstname.lastname@example.org> wrote in message
> In my wrksht there is a cell range highlighted with an
> autofill color. We use this to show the user where t...Right Filling A Formula Whilst Keeping A Static Column
I have a large worksheet with in excess of 100 rows and 100 columns. In
each cell of column C, I have a constant that I need to use as part of
the formula applicable to columns D, E, etc. For example; =SUM(C7*D7).
I would like to fill right across all subsequent columns so as the
formulas are =SUM(C7*E7), =SUM(C7*F7), etc. Alas, what happens is that
I am getting =SUM(D7*E7), =SUM(E7*F7), etc.
Any suggestion gratefully received. Thanks in advance.
kevtherev's Profile: http://w...Find Date in range and scroll down to next row
I have a sheet(1) frozen in A4.
Want a code to do the following:
If date = today
then select row
font.color. index = 15
scroll down to next row (next row and below visible).
How do I solve?
Do you want to simply loop through all the occupied cells in column K and
color the entire row if the date = today? I don't understand the "next row
and below visible". What is visible and what is not visible? Post back and
provide more info. HTH Otto
"tomjoe" <email@example.com> wrote in message
news:DC40BBCF-E3...Printing in Vista
After each document prints another sheet prints which has the filename,
directory,title, subject, author, creation date, last saved on, total editing
time, last printed on. These are just some of the items that print on this
one sheet of paper. Can anyone help me?
In your Print dialog, uncheck "Document Properties."
On Nov 30, 1:34=A0pm, peppermint patty <peppermint
> After each document prints another sheet prints which has the filename,
> directory,title, subject, author, creation date, last saved on, total edi=
ti...converting column of text to text box for repetitive records
I have a spreadsheet which contains employee information including job
skills. My problem is that each skill (cook,candlemaker, etc.)creates a new
row for that employee, duplicating fields that don't change, name, ss#,etc
with the only new info in the row being the skill
What I want is 1 row for each employee with the last column containing all
the skills in a text box or separated by commas. Is there an easy way to do
this in Excel? Or even Access?
Outgoing mail is certifie...How do you customize the 'Print View'?
Ho do you customize the print view of the different type of records?
On Apr 24, 5:09 pm, "Antony" <info AT webpc DOT biz> wrote:
> Ho do youcustomizetheprintviewof the different type of records?
You are probably going to need to create a custom SQL Server Report to
get what you need. Or you can create a mail merge via MS word and
access a CRM Table or View using ODBC. Post what you need exactly and
you might get some more specific direction, or possibly someone has
what you need already.
...Count duplicates where the next column contains specific text
I need to write a formula which counts the number of unique entries i
columnA where the corresponding entries in columnB contain a specifi
string of text (ie *text*).
Can anyone help with an answer to this problem or is it impossible t
do in excel
ar0618's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=3109
View this thread: http://www.excelforum.com/showthread.php?threadid=50762