Please help with Excel VB question
I'm trying to set a Name range in Excel through VB, by setting the name
property when a specific cell in a worksheet is changed. The code is as follows:
fred1 = CStr("=PL!$A$4:$E$" Worksheets("Control").Range("maxnumpass").Value)
ActiveWorkbook.Names.Add Name:="numpasslist", RefersTo:=fred1
My problem is that the change is only active for the worksheet where I change
the cell. Is it possible to ensure that this change takes effect across all
worksheets in the workbook?
Any and all help appreciated either in a reply to this post or on
I am writing a multithreaded server application.
I have written a class to handle thread(CThread , say) activities like
creating, suspending, resuming threads etc. I have derived a class from
CThread (CMainThread, say) and a class (CClientThread, say) to handle
client connection which is also derived from CThread. In CMainThread
class i am creating a thread and waiting for incomming connections. As
soon as a connection came i am creating an object for CClientThread and
call the function to create a thread and so on.
1. Start the main listening thread.
2. wait for a con...MS CRM Certification question
I have a question regarding the CRM certification? What, if any,
certifications are there available with MS CRM? Is there anything like CRM
Have I earned any certification if I passed the Applications Professional
Kuba Skalbania [MCAD]
...update trigger question
If I have something like this in an update trigger:
if update(FirstName) or update(LastName)
update n set FullName = i.FirstName + ' ' + i.LastName from Names n
inner join inserted i on n.NameID = i.NameID
I only want FullName to update if either FirstName or LastName are updated.
Here's my question. A batch update updates 50 rows in the table. Of the 50,
only 20 have changes made to the FirstName or LastName columns. It's my
understanding that the "if update()" ONLY allows 20 rows that fit the if
update criteria to be updated in the...Newbie, accnts. payable & accnts.receivable sample DB
I�m running access 2003, windows xp pro SP2
I've been commission in my work to do a small application to track and
report the accounts payable and accounts receivable movements, I'm not an
accounting savvy person :(, does anyone know of a link or sample access
database that can help me with the basic structure of the tables and
reports?, any help would be greatly appreciated.
...Really simple questions re CSliderCtrl
Using SetSelection() I can get a CSliderCtrl to display a highlighted
selection ... but so what? What use is it other than to look pretty?
Which of the following is possible, and how do I do them?
(1) Prevent the user from moving the thumb outside the highlighted range.
(This seems to be what the documentation suggests that SetSelection does,
but in fact it doesn't, the thumb can be moved outside the selection.)
(2) Have the user change the selection. (The documentation seems to suggest
this is possible, but I can find no combination of keystrokes or mouse
actions that will do it.)
I drive my game's physics engine using a simple loop running on its own
thread. It invokes Thread.Sleep(1) when processing takes little or no time
(under 4ms) to allow real time to catch up. For heavier loads the loop uses
bigger timeslices, up to 20ms, with no sleeps.
Since this is a multithreaded application, I decided to break out CHESS to
test the object (render) buffer for problems. But CHESS hates
Thread.Sleep() - it fails any test that hits one, calls it a livelock.
I ended up switching out the original realtime loop with a high resolution
multimedia timer, but I ...Email Setup Questions
Howdy and Happy New Year!
I just bought a new computer and I'm trying to set up Outlook.
Other than logging onto work email using the internet from a hotel o
at home, I've never used Outlook away from work.
I have several different email accounts: Hotmail, AOL, and work emai
(which uses Outlook).
Is it possible to utilize Outlook to retrieve my emails from th
separate accounts? Can I setup each of the folders for the differen
email accounts all on the left side?
After I set it up, how does Outlook know which account I'm using when
send email? Hotmail? Work?
I need h...Visio Newbie
Hello all, this is my first time using Visio for drawing a floor plan and I
have a quick question.
Yesterday, (Using a tape measure) I mapped out the floor plan of an office
my company might be moving into. I wrote everything down in Inches.
Is there a way once I get a room shape kinda close to teh measurements, that
I can manually type in teh length for each wall?
if not in inches, at least in feet.
For example, I have one wall that is 154 inches ( 12.83 ft) Then the next
wall is 242 incehs( 20.1 ft) The opposite wall of the first measurement is
288 inches, third wall 100 inches, then 13...General design question
i'd like to design a class - let's call it CDrawObject - that is able to
contain some data and draw itself.
furthermore i'd like to have a class CDrawMultiObject that is derived from
CDrawObject and can contain objects of type CDrawObject.
i imagine to have the following situation:
CDrawMultiObject -> base object (i.e. an object manager )
CDrawObject -> first element
CDrawObject -> secound element
CDrawMultiObject -> third element
CDrawObject -> first element
CDrawObject...Exchange newbie problem
A user on our domain was deleted when he should not have been. His mail
box was not deleted. When his account was recreated, we tried to reconnect
the old mailbox. But when selecting a user in the "Select a new user for
this mailbox" dialog a message comes back saying that the user cannot be
found. We tried several different users a none can be found even though
they can get there mail just fine.
We need to get the messages from this mailbox.
Any ideas would be great
Craig in the High Desert. firstname.lastname@example.org
But it's a dry heat.
you should be able to reconnec...C++ / Access Newbie
I have a small commercial package written in C++ (targeted to Windows
platforms) that uses its own proprietary database. We are just starting to
investigate the option of replacing our database with a commercial package,
such as Access or MySQL. Can anyone recommend informative reading that
provides details on programming C++ with either of these two databases? At
this stage we have no (any I mean ZERO) experience such programming. Any
information would be helpful: recommendations for Access over MySQL (or
vice versa), sources of such comparisons, licensing considerations, OD...Printing question
We are having an issue with LPR printing using our software in conjucntion
with a Windows 2008 server which is preventing us from being able to flash
images to a printer from our application.
We use Universe, SB+ and SBClient and would use the DOS shell from inside
SBClient to use LPR print commands to send the images to the printer, this
has worked fine on all other Windows servers but not 2008. What happens is
when you drop to DOS you can browse to the %systemroot%\system32 folder and
do a dir but you cannot see LPR. If you do the same from a normal command
prompt the file ...General Question
Is this the only way to get Outlook help without having to
There are lots of websites with information posted.
http://www.slipstick.com for one. Of course there's always
http://www.microsoft.com/outlook. And the online help files in Outlook.
Ben M. Schorr, OneNote-MVP
**I apologize but I am unable to respond to direct requests for assistance.
Please post questions and replies here in the newsgroup. Mahalo!
"Amy" <email@example.com> wrote in message
news:03c701c3a959$cafe41f0$a3012...2 Macro Questions
If I assign a macro to a forms button on the sheet if I copy the book and
load it on my friends computer do the macros go with them.
Can a macro button be assign to a cell so when clicked it will print (72,8)
from that cell, and what formula would I need?
Thanks in advance for your help....Bob Vance
1. Yes, the macro code is copied as well
2. You can add some code to the Doubleclick event of your button. I'm
not so sure what you mean with 'print'? Insert a value in a specific
cell. If yes, try the following code:
Private Sub CommandButton1_Click()
joining the group
where are you from and what versiona re you using?
> joining the group
...XSL Question #5
<xsl:if test="fTOC[starts-with(@filename, '5')]">
<xsl:attribute name="titleRef">Section 1 - Section
<xsl:for-each select="fTOC[starts-with(@filename, '5')]">
I am going through a list of files starting with '5' and placing them under
"Section 1 - Se...Outlook 2003 error message #4
When I try to send/receive using Outlook 2003 I get the
following message "The operation failed. Object could not
The following are things I have tried to fix this:
1) I have tested my user account settings for Outlook
2003. They are fine. The test e-mail is received by
2) I have removed my user account settings from Outlook
Express (which does send/receive e-mail).
3) Outlook 2003 is set as my default mail program.
4) Since Express works, I imported my account settings
from Express into Outlook and then deleted all account
info in Express.
H...Run Integration Quicker-Newbie
I am running an integration to import sales orders for
invoicing. I use several additional query criteria in IM,
but I do not think these criteria are passed to SQL Server
2000. Instead, the records are returned, then the
criteria are applied. The integration is taking quite a
bit of time to run. Does anyone have an idea on how to
pass the criteria to SQL Server, or any other ideas to
increase the performance?
use a SQL Server View
"Shannon LeVert" <firstname.lastname@example.org> wrote in message
> I am running an in...Off topic question
Which newsgroup should I subscribe to ask questions about newsgroups?
What sorts of questions? About the groups themselves? About Usenet? About
newsreaders such as Outlook Express (which I see you're using)?
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
"Jim Birke .com>" <jimbir@yahoo<notthis> wrote in message
> Which newsgroup should I subscribe to ask questions about newsgroups?
I am subscribed to several newsgroups in msn...Question About PF migration
I want to migrate PF from Exchange 5.5 to Exchange 2003. I saw that using
the PFMIGRATE utility I can create replica on the destenation server, but I
can't define which folders I want (I can only define the number of folders)
Is there any utility / script that I can use to define list of folders?
We cannt use PFmigrate to do a selective replication but what can be done is
the contect replication of selective PF using if its an intra-org pf
migration by simply useing Exchange System Manager and right-click the PF
you want to replicate and on the...MDI newbie ?
I want to add a "reload" command that will close the current(and only)
document and reload it again. Here is what I have tried so far:
while(AfxGetApp()->GetOpenDocumentCount() > 0);
This doesn't work, because, as I've learned ID_FILE_NEW create just that, a
new blank document so count is still 1. I can't figure out what I should
check for, how I can know when the ID_FILE_NEW is done so that I can call
Does ...Real Newbie newbie question
Hi All - I hope you can help me! I have Finepix M603 camera and although I
take reasonable shots in daytime, I'm not able to produce anything at night.
eg On The Thames on New Years Eve, may people were using digital cameras and
their screens should clear bright picture - mine was black! What setting
should I set on mine? Any advice really appreciated.
Wrong group. Sorry.......
"Dave" <cadasco@SUPERhotmail.com> wrote in message
> Hi All - I hope...Another COUNTIF question...
Hey all, i'm stuck.
I need to do a formula that will count the number of cells in column
'A' only if the corresponding cell in column 'B' has a value of '0'.
=COUNTIF(O:0,"0")+COUNTIF(P:P,">0") - just counts both, and that's as
far as i have got.
Can anyone help me please.
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/
except for being something i need to do in an mfc app i'm working on this
doesn't really have anything to do with mfc.... but its as bad a place to
start as any other group i watch. i need a kind of generic algorithm to
take an array of 3d points that describe a surface, then given two
coordinates of another point interpolate the third coordinate on the
surface. picture it like you have a set of random latitude, longitude and
elevation points, then want to find the elevation of any given latitude and
longitude coordinate. (over a small area, don't worry about spherical earth