How can I have this IIF query running?
This is my query :
strQuery = "SELECT DISTINCT ID_emp,name,adres,city, " _
& " sports = IIF(EXISTS(SELECT ID_sport FROM tblSports WHERE
ID_pers= tblArbCtr.persID), 1, 0)" _
& " FROM tblArbCtr,tblEmployee WHERE Contract = 0 AND
I want to find out the employees who don't have a contract (contract=0)
first, and after that I want to verify whether they have a sport with the
derived 'sports' column. The compiler fires the following error : '3061 :
Too few parameters. ...Excel button problem
I have a macro that copies a worksheet in the active workbook and puts it
into a new workbook - then formats it and deletes any buttons on the
On the first click on the button the macro works ok.
On the second click, it fails because the all assigned macros on all buttons
in the active workbook changed from "mba" to "book1!mba". Book 1 doesn't
exists (wasn't opened, wasn't saved, doesn't have the macros).
I've never experienced this problem before??
Can anyone help to solve this problem?
The macro to do this is c...Looking for Excel Help
I'm a very novice Excel user and am looking for a little help with
creating a formula for a spreadsheet I'm creating for
my personal use. I would appreciate some
assistance if possible. Thanks in advance.
Message posted from http://www.ExcelForum.com/
Post a sample of what you want to do.
Your question is just a tad open ended <g>
Norman Harker MVP (Excel)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
"DanB4105" <DanB4105.ywtpa@excelfor...New to excel
I'm new to Excel ( and to this forum :) ) and so I hope somebody may b
able to help me.
I've got 2 questions....
I've got a spreadsheet which takes data from one worksheet and uses i
to calculate data in a second worksheet using the following code
=IF('4th November 2005'!B19="","nothing here dude",IF(B19<'4th Novembe
2005'!B19,"UP",IF(B19='4th November 2005'!B19,"Same",IF(B19>'4t
The problem is, when I create a new worksheet I have...Excel 97 #9
Please can anyone help???
I have two columns in Excel 97. The first contains a list of statu
values eg. pending, or granted or withdrawn. The second contains date
eg.01/12/1997, 05/06/2003. I woudl like to know how to get all th
granted apps before 31/12/2003. Can anyone help please
Message posted from http://www.ExcelForum.com
theres many ways, but an easiest way would be to do a
sort. Highlight the 2 columns, click on data, then sort,
then sort by status, then by date. this should group them
all together. hope this helps...toe
>Please can anyo...How2 set Defaults for Paragraphs in Pub2003
I have just upgraded to Pub2003. My old Pub2000 had no such feature. My
problem is when I cut and paste into the new Pub2003 it automaticly uses a
Line Spacing default "After Paragraphs: 9pt" - this whacks out all my old
logos and forms when they are copy/pasted in to a new Pub2003 .pub
If I open an old (2k) .pub file with Pub2003 the spacing is fine - if
figures out the Line Spacing is "After Paragraphs: 0pt"
...Excel corrupts when asking to update vlookups
We are experiencing weird behavior with some Office 2K3 Excel spreadsheets
that contain lots of calculations, but no macros. On some pc’s Excel acts
normally, on others you get the error. I have a couple of screen shots
Any help is appreciated.
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.
Don Gu...Uninstall of mappoint has caused errors with excel
I am running Office 2003 on the terminal server (windows 2003) and had a
copy of mappoint as well. This is a mapping program. We ininstalled
mappoint which has caused an error message with Excel and other office
products. The error says "Cd:\documents and
settings\administrator.ocrdc1\application data\microsoft\addins c:\Program
files\common files\microsoft shared\geography\mpoai9.dll is not a valid
add-in." I then click OK and excel opens up and everything is fine. The
problem is that we are using other programs as well such as Quickbooks that
export to excel and t...Offline Synchronization Problem #2
I get the following error when I try going offline. The excelption is taken
from Event Viewer of the Client Machine.
Event Type: Error
Event Source: MSCRMOfflineSync
Event Category: None
Event ID: 6000
Time: 5:03:33 PM
An error occurred during Offline Synchronization. Try going offline again,
or restart Microsoft Outlook. saInsert failed for entity
'ActivityMimeAttachment', batchRows=0 with exception System.FormatException:
Index (zero based) must be greater than or equal to zero and less than the
size of the argument li...How to delete a set of rows depending on Value
I have two worksheets
I need Worksheet A to look at each cell in Worksheet B, if a cell exists in
Worksheet A, then I need the row deleted...
Basically I have a list of Grand list of items to do, then a list of items
already completed. I need to now remove all entries in the grand list that
have been completed.
Is this feasible or should I look at using some Unix script.
It sounds like you could use VLOOKUP to find out if the value in B exists on
http://www.officearticles.com/excel/vlookup_formulas_in_microsoft_excel....Filters not working in Exchange 2003
I have been trying to turn on the Recipient, Connection, and Sender filters.
I have gone to the Default SMTP Virtual Server and turned it on there without
getting an error but when I go to the Properties and add senders to block and
the hit Apply, it tells me that I must manually turn the filtering on in the
SMTP VS. I have stopped and started the Default SMTP VS but still no luck.
That is a standard dialog box, it does not check to see if it is already
enabled, have you tested the sender filtering?
This posting is provided &quo...Math Worksheet Database
I am interested in developing/acquiring an Access 2003 database to generate
(K-5 grade) math worksheets where I can track student results. I would hope
not to reinvent the wheel.
Thank you for any assistance.
...How do I Remove a Split from my Comments in Excel 2003? #2
I have set my current workbook to split/freeze the first column and first 2
rows. Now, when I add a comment to the second row (in any column) my comments
are cut off if I should scroll down.
I don't ever remember the behavior before. And I don't know what I've done
to enable it but it's really annoying.
How do turn this off ?
...learning Excel #3
I was considering learning Excel as an additional tool for my data analysis
Is it better to use data sets that I have previously used with SPSS and
apply the same analysis tools as in SPSS? For applying the appropriate
tools, I was considering using excel's online help.
The second option I have is to use some excel book for data analysis and
apply the techniques to data sets provided with the book.
...unable to paste Excel 2003 chart into Outlook 2003
(This was posted on "excel.charting" group.)
I have a user who's unable to paste an Excel 2003 chart into Outlook 2003
email message. In Outlook options, the checkbox is selected for "Use
Microsoft Office Word 2003 to edit e-mail messages".
When I tested this on my own computer running the same version of Office, if
the box is check, I have no problem pasting; if this box is cleared, I
cannot paste. But on his computer, it doesn't work regardless.
Thanks and regards,
...Is anyone an expert with outlook that I can call on the phone?
How do I share calenders between outlook and my MSN Premier account?
Assuming you are using the outlook connector, you need to set the msn
account to be the default message store then outlook will use the msn
calendar as the default.
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com
Outlook Tips by email:
EMO - a weekly newsletter about Outlook and Exchange:
You can access this...Setting a dynamic range in a formula
I have a column of numbers and I always want the following arra
formula to use the last 12 entries:
Phillycheese5's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=2419
View this thread: http://www.excelforum.com/showthread.php?threadid=37809
Assuming that Column D contains no blanks, try...
...confirmed with CONTROL+SHIFT+ENTER.
Hope th...How to set "licence" for Access 2007 database?
I developed an Access 2007 db to a client. Now I want to make a year
based licence for that database that the client must pay if they want
to continue using the database after year. It must be so that database
cannot be used after this date. How I can accomplish this? Thanks!
On Mon, 12 Apr 2010 13:14:17 -0700 (PDT), Sandroid
>I developed an Access 2007 db to a client. Now I want to make a year
>based licence for that database that the client must pay if they want
>to continue using the database after year. It mu...Can't do adjustment in analytical accounting
I am trying to change an analytical assignmnet through the Edit
Analysis. When I try and change it, I receive an error stating "The
Code of this Transaction Dimension cannot be adjusted". Has anyone
seen this before? I have done similar changes many times, but I don't
know why I can't now. Any insight would be helpful.
What version of Gp are you running? I haveseen this happen in 8 but one of
the service packs fixed it. (I think it was SP 4 or 5)
> I am trying to change an analytical assignmnet through the Edit
>...Can I share entities in migration process?
The entities in CRM have only one owning user. If I want=20
who a user see a entity of another user, the entity must=20
be shared with this user.=20
Well, I want migrate entities who must be shared with some=20
users. Exists a way to do it?
Thank you for pay attention and sorry my bad english.
Vin=EDcius Pitta Lima de Ara=FAjo
...q Emailing Excel Sheet With Outlook
I am trying to send a table from Excel within the body of an Outlook
(lastest versions) to be sent as a fax. Am able to do this, BUT when
the document prints out on the fax machine the formating is off (too
big for the sheet). I am flexible on changing the method I send it to
the fax machine, however it must be sent to the fax via macro. Below
is the code I am using.
Any help would be greatly appreciated.
Public Sub DoIt()
'On Error GoTo Handler
Dim EmailAddress(0 To 2) As String
Dim Count As Integer
Dim N As Integer
Dim sRec1(0) As String
Dim sRec2(0 To 1) As...Terminal Server and GP Settings
Not being a Windows Terminal Server expert by any definition, I have a
question for somebody who is.
When wanting to have a user profile to store individual dex.ini files, my
understanding is that each user would have his own Windows folder under their
user folder. Additionally, if you typed SET at a command prompt, the settings
for WINDIR would point to that user-specific Windows folder. Is this thinking
Charles Allen, MVP
I think you also have to make certain that the dex.ini does NOT exist in the
program install location for GP or it will still look to that.
Dwight...I need to print a word in PDF from excel.
In my excel Macro, I update several values and then open a word linked
with that excel. Finally what I need to do is to print that word to
PDF. I already have a PDF Printer, so I just need the code to do it.
Can anybody help me?
Thanks in advance.
Habilita la impresora predeterminada como la PDF y ya lo puedes imprimir a
al formato deseado
Tienes alg=FAn codigo para ello?
Desde el panel de impresoras asigno primero la que me interesa y despues
ejecuto mi macro desde el archivo excel asignando la instruccion sig:
midefaultes = a...Excel VBA
When you select the autofilter, the drop down list is created from the
unique data in that column. Is there any way to customize this list, so
the changes are permanent?
For instance, I might have in one(1) column the following 4 row
red, blue, green (all are single cell entries)
I want my autofilter drop down
list to read:
red instead of red, blue, green
blue red, blue
blue, green (like
If I chose red from the drop down list...Problem with named range for a large spreadsheet in Excel 2007
I am trying to generate a large Excel spreadsheet apprx. 10000 rows and 40
columns. I am generating defined name section in the Workbook.xml part of the
XLSM package. Here is a sample entry from that section
<definedName name="_._44802_._0_._0_._0_._top_line" localSheetId="0"
Although the generation goes fine, I can not open the spreadsheet as the
Excel throws an error message saying the package is corrupt. But this is not
the case if the spreadsheet is small say, 200 rows by 10 columns.