Adding Blank Rows after the last Detail of the Report
I've used this code from Dwayne:
Private Sub Report_Page()
Dim intNumLines As Integer
Dim intLineNumber As Integer
Dim intTopMargin As Integer
Dim ctl As Control
Dim intLineHeight As Integer
intNumLines = 12
intTopMargin = Me.Section(3).Height
intLineHeight = Me.Section(0).Height
For Each ctl In Me.Section(0).Controls
For intLineNumber = 0 To intNumLines - 1
Me.Line (ctl.Left, intTopMargin + _
(intLineNumber * intLineHeight)) - _
Step(ctl.Width, intLineHeight), , B
My report needs to print blank rows (at least...Adding hyperlinks with parameters
I have a batch file which needs to be run from an excel sheet with a
parameter, like this:
But when i try to run the Hyperlink, the Excel shows an error message
saying it can't open the specified file (probably because the is a
space between the file and the parameter)
is there any known way to run the link from the excel?
On Mar 2, 12:45=A0pm, Pasha <pavel_v...@mailto.mod.gov.il> wrote:
> Hey everybody
> I have a batch file which needs to be run from an excel sheet with a
> parameter, like this:
> c:\1.bat myParameter
> But when i ...outlook vcard, ad integration user properties
my boss is trying to get hix fax# in his vcard.
he is using his address from the global address list
I have modified his profile in active directory users and computers: I go
into AD users and computers, double click on his user, go to the telephones
tab, and enter his fax #. but when I did this his fax # is still not being
pulled up in his outlook vcard. Does anyone know where outlook is trying to
get this field from / how i can get this field into his vcard?
...pop-up form/message box problem
I have a main form where records are entered; in one field users select from
a list of citations, if they type something that's not on the list, a message
box pops up asking if they'd like to add the new citation, when they click
"yes" the pop-up form where they enter the citation information opens, no
HOWEVER, if they close the pop-up form without entering any data the default
Access message " The text you entered isn't an item in the list." appears.
How do I prevent that from happening?
Message posted via AccessMonster.com
http://www.accessmon...Is there an "Execute" worksheet function?
Is there a way I can get Excel to "execute" an expression that is
stored in a cell as a test string?
Say C4 contains "3+4". Can I put some expression in C5 that will
execute that expression and result in "7"?
I tried =calculate(C4) and a few other things, but no joy.
in the absence of putting = in front of c4, try this
Don Guillett Excel MVP
"LurfysMa" <firstname.lastname@example.org> wrote in message
news:o5fn83thi0g5tivf55abvhv...Condition Format syntax
I have pairs of cells to test.
What I want to check is if the value of the 2nd cell is higher than the
first, but less than 1.5 times as high.
I've tried various syntax combinations using 'Formula is', but just
can't seem to hit the right one (Excel 2003).
Can anyone help?
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
Try this one:
"Paul Hyett" <email@example.com> skrev i meddelelsen
news:XeIMdj...ADDING A NUMBER
how do i add a number to a range of cells? I need to add 11.27 to a number
of different cells each with a different number in them
Put 11.27 in an empty cell, format it the same way as the numbers you want
to add to,
copy it, then select the numbers you want to add to and do edit>paste
special and select add.
"Helpme" <Helpme@discussions.microsoft.com> wrote in message
> how do i add a number to a range of cells? I need to add 11.27 to a
> of different cells e...XML <IF> condition
Following code segment looks good but the <IF> equates to true always and all
departments print... What am I doing wrong?
<ROW> "Non-Taxable Sales:" </ROW>
<SET name="NonTaxableTotal" type="vbCurrency"> 0 </SET>
<SET name="TATTOO" type="vbString"> "TATTOO" </SET>
<CONDITION> Report.Department.Name = TATTOO </CONDITION>
<ROW> Report.Department.Name &qu...adding new records
I am totally new to CRM, so I hope this is really easy question:
This concerns permissions.. I have a "sales" group, and with one of those
people i need to be able to let them add new records on behalf of other
"sales" people. Is there like a standard permission setting for it?
(obviously every "sales" person can add new records if they select them selfs
as the owner)
By default the person who creates the record will be the owner. After record
creation the person could reassign the record (manually) to another user.
If all rec..."view like server explorer"
Hi to all,
I want to develop a view like server explorer that .Net has got. I am using
vc++ 6.0 and MFC.
Hope for the response soon.
Your's Satyam Kumar Das.
Use a tree control (CTreeCtrl) and image list (CImageList) and create
"Satyam Kumar" <Satyam Kumar@discussions.microsoft.com> wrote in message
> Hi to all,
> I want to develop a view like server explorer that .Net has got. I am
> vc++ 6.0 and MFC.
> Hope for the response soon.
> Thanking You.
>...When adding attachments...
....in Outlook the following errors comes up:
"Out of memory or system resources, please close some
programs and try again"
Quotas are fine. I have deinstalled/reinstalled Office,
cleaned 'temp' areas, and many other tidbits. Any other
This might help as i had this problem with Outlook 98.
Is the file you are trying to copy to attach nested in sub folders? if so try and copy the attachment to a root drive like c:\
Ignore previous email. wrong spellin
if the attachment is nested in sub folders(this means you have to open different folders to get to ...Help in Query with two condition
I have a table like this:
Planner Qty User6 CUT SUB
BAM-06 1 CONC Yes No
BAM-06 1 CONC No Yes
BAM-06 1 TOC Yes No
BAM-06 1 TOC No Yes
BAM-06 1 TACT Yes No
BAM-06 1 TACT No Yes
JAXM-06 1 CONC Yes No
JAXM-06 1 CONC No Yes
JAXM-06 1 TOC Yes No
JAXM-06 1 TOC No Yes
JAXM-06 1 TACT Yes No
JAXM-06 1 TACT No Yes
Note: CUT and SUB are check box
I want a result as follow:
User6 A B C D E F
CONC 2 2 1 1 1 1
TACT 2 2 1 1 1 1
TOC 2 2 1 1 1 1
A SUM Qty =BAM-06
B SUM Qty =JAXM-06
C SUM Qty =BAM-06 if Cut=YES
D SUM Qty =JAXM-06 if Cut=YES
E SUM Qty =BAM-06 if SUB=YES
F SUM Qty =JAXM-06 i...Picture Disappears When Added To Contact In Outlook 2003
Can someone help please.
When I try to attach a picture to a contact in outlook 2003 immediately
I double click the picture to be attached it disappears out of the
outlook contact along with the placement holder in the form. Only when
I right click the mouse and go remove picture do I get the placement
I have looked at all the help menus but they offer no clues.
..."resetting" the "automatically complete emailaddress" list
Outlook 2003 remembers email addresses and not only addresses that are in
the contactlist, but once I entered a wrong email address I make the mistake
using the wrong one next time. Where can I find the list where those email
addresses are in, so I can delete the wrong ones or reset it.
This is also the problem with the "location" tab in a Calender item. I also
want to "reset" this list
Remove individual addresses from the autocompletion cache by highlighting
the entry when presented in the suggested names list (use your arrow key to
migrate to the entr...Conditional Formating based on Odd vs. Even
If row in column A contains an even number, shade that row in Colum
B-G Yellow, If odd Shade Gray, If blank No Shade. Can this be done i
a formula in Conditional Formatting? If so, how? Help appreciated.
Message posted from http://www.ExcelForum.com
Condition 1: Formula is =Len($A1)=0 (no format)
Condition 2: Formula is =MOD($A1,2)=0 (yellow format)
Condition 3: FOrmula is : =MOD($A1,2)=1 (grey format)
"natei6 >" <<firstname.lastname@example.org> wrote in message
news:natei6.1699y4@excelforum-no...multiple value choices for If range().value = "xxx"
The macro below runs on worksheet change and works properly.
However, I have 5 values to examine in column H. The values are: Split,
Payday 1, Payday 2, Payday 3, and Payday 4. Any of these choices should
result in unlocking and clearing the cells in that row (first part of if
statement). Otherwise, the range 'pasterage' is copied to that row and it is
locked again. I can't find the proper syntax (if there is any) to say
something like is possible in SQL (if ...value in ("Split","Payday 1",...))
Please advise on the best way to go about this.
...Adding ActiveX to dialog with wrapper
When I add an ActiveX object to a dialog using the dialog editor -
right click - insert activeX object, the help on the resulting activex
selection tool states that a wrapper will not be added by using this
If you need a wrapper, it suggests using the class view.
This is using Visual Studio 2005.
I'm having some problems with this on an existing project.
To make sure I understand the process, I created a new MFC project,
added a dialog, created a class for that dialog and added a Flexgrid
object using the right click method in the dialog. I then added a
variable for the flexgrid...Validating data in a subform against data in main form
I have a main form with a subform. Each form is bound to its own table but
are linked through a primary key (customerID).
On the main form, I have a customer's date of birth (dob).
On the subform, I have the customrer's date of order (doo).
Basically, I want to validate that the date of order entered by the user is
later than the date of birth.
How can I do this? I tried to do it in the subform's BeforeUpdate event but
it failed. It didn't seem to recognize dob (customer's date of birth).
Perhaps, I was not referring to dob properly.
I'm new to ...Adding alternate columns
I work on a schedule where I record ticket count and ticket sales for
each show, listed chronologically.
Column A = week ending date
Column B = # Tickets sold for April 5 show
Column C = Ticket Revenue for April 5 show
Column D = # Tickets sold for April 9 show
Column E = Ticket Revenue for April 9 show
Column F = # Tickets sold for April 12 show
Column G = Ticket Revenue for April 12 show
Column H = Total # Tickets sold for all shows
Column I = Total Ticket Revenue for all shows
In the Totals columns, the Total Tickets formula is "+B4+D4+F4", and
the Total Revenue f...Conditional Colors for Charts #2
I have on a sheet with several graphs and I would like to execute the
procedure below automatically.
In advance thank you for the assistance
Dim vntValues As Variant
Dim intSeries As Integer
Dim intPoint As Integer
For intSeries = 1 To .SeriesCollection.Count
vntValues = .Values
For intPoint = 1 To .Points.Count
If vntValues(intPoint) < 60 Then
..Points(intPoint).Interior.Color = vbRed
ElseIf vntValues(intPoint) >= 60 And vntValues(intPoint) < 80 Then
..Points(intPoint).Interior.Color = vbYellow
E...Adding fields from a different query
I have a form built based on a main query. How do I add more fields on that
form that come from a different query?
A couple possibilities...
Change your first query to include the extra fields.
Use your second query to "feed" a form, then embed that form as a subform on
your main form.
Microsoft Access MVP
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudoco...Adding more than three Conditions to 'Conditional Formatting'
Can i add more than three conditions to the conditional formatting
presets using code?
Rizitsu's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=15840
View this thread: http://www.excelforum.com/showthread.php?threadid=320382
Riz, as you have found out, only 3 conditions with conditional formatting.
But yes you can use some code to get more than 3, try this it will change
the cell color in column A when you put in one ,two, three, or four, right
click on the she...Copy Data From Main To Sub Form
Hi everyone! Using A02 on XP. I have a main form [ICSUpgrade2008MainForm]
with some data on it that I would like to copy down to my subform
[ICSUpgrade2008SubForm] when I click a button on the subform. The Main Form
field is: [Forms]![ICSUpgrade2008MainForm]![Trustee] and the Sub Form field
is [Forms]![ICSUpgrade2008SubForm]![ContactName]. I want to copy the name
from [Trustee] to [ContactName].
I've played with me.contactname = and can't figure out the mainform field.
Do I have to create an unbound field on my subform to = the mainform field
and copy that way? Seems a b...I don't have a "drop down" arrow to choose an email
I have Outlook 2000 (220.127.116.1111) Corporate or Workgroup
I have 4 email addresses that I want to use.
When sending an email, how do I have the opportunity to choose which account it is from?
I don't have a drop down arrow, nor a "send email using" option..
If I recall correctly those options don't exist in Outlook 2000. Can you
upgrade to a newer version? Outlook XP (2002) and 2003 both include a "Send
Using" capability that is quite good.
Ben M. Schorr, OneNote-MVP
**I apologize but I am unable ...Printing conditional images
I am certain there's a simple answer to this but it has been baffling
me so I'm throwing it open to the world after searching the archives
with little success.
In my worksheet, I have inserted images conditional on cells containing
certain values. The code is as follows:
Private Sub Worksheet_Calculate()
Me.Shapes("Picture 1").Visible = (Range("C14") = 2)
Me.Shapes("Picture 2").Visible = (Range("C23") = 5.76)
The images appear without any problem and all is well on-screen.