Null in text box
Can anyone see what might be wrong withthis procedure?
Private Sub Job_Number_BeforeUpdate(Cancel As Integer)
If IsNull(Me.Job_Number) = True Then
MsgBox "No Job Number Entered"
Cancel = True
Message posted via AccessMonster.com
"Haggr1 via AccessMonster.com" <u35393@uwe> wrote in
> Can anyone see what might be wrong withthis procedure?
> Private Sub Job_Number_BeforeUpdate(Cancel As Integer)
> If IsNull(Me.Job_...convert text case in same column or row?
How do I convert text case in the same colum or row. At the moment I use
UPPER, but have to create a new column/row.
You may find this to be handy
Sub ChangeCase() 'Don Guillett
Application.ScreenUpdating = False
Dim r As Range
nCase = UCase(InputBox("Enter U for UPPER" & Chr$(13) & " L for
lower" & Chr$(13) & " Or " & Chr$(13) & " P for Proper", "Select
Select Case nCase
For Each r In Selection.Cells
If r.HasFormula Then
r.Formula = LCase(r.Formul...I TYPE IN A TEXT BOX AND IT COPIES THE TEXT TO OTHER TEXT BOXES
Does anyone know how to fix this?
> Does anyone know how to fix this?
Are you editing text on the Master page?
MS Picture It! -
Digital Image MVP
Highlights and FAQs
This is not tech support
I am a volunteer
Solutions that work for
me may not work for you
Proceed at your own risk
Yes, I thinnk so. :-) I'm not on the background. It's an 8 pg brochure I'm
creating and it didn't do it before I added page 8.
...Re: Using Text Styles
Front page will not have a Next Edition. AFAIK it is dead.
> Ed Bennett wrote:
> > Ron Hagley wrote:
> >> I have a document with Headings on one line followed by a linespace
> >> then on a new line a subheading followed by (on the same line ) a
> >> description
> >> I wish to use TEXT STYLES as this pattern repeats many times, I have
> >> no problem seting up the styles for the headings, but when I do the
> >> same for the SUBHEADINGS the text style is applied to the WHOLE line
> >> including the description...Text in Cell as Formula #2
Peo + Julie Many thanks for your answer with the last query.
I Have a similar question, please advise:
This method [INDIRECT()] does work with values form a different spreadsheet.
I type the link (as text) from a different spreadsheet in a cell in the
current spreadsheet and use this method to call a value in a cell.
Would appreciate a detailed answer (if complicated) - I'm a novice user!
Many thanks in advance.
...Logical Test: Text Against Number 01-05-10
Can anyone provide insight into how Excel treats this type of test? For
example, why does Excel return TRUE when we have ="a">2 but FALSE when ="a"<2
(or any other number for that matter).
That's the way it is treated. Any kind of text is larger than the largest
Any worth? hit the YES below
> Can anyone provide insight into how Excel treats this type of test? For
> example, why does Excel return TRUE when we have ="a">2 but FALSE when ="a"<2
...No password protect workbook box in Tools>Options>General
As is the case with much of this limited CD that was installed, some
important features are missing. I want to password protect any given
workbook. When I went to help (since the Tools>Protection didn't work) it
told me to go to Tools>Options>General, and click on the box that said to
password protect the workbook. As usual, this version has nothing of the sort
on the General tab under Options. Now what?
Why don't you get a full version if you expect full version capability? I'm
at a loss...
"MS" <...Rotate text?
Is there anyway to rotate a specific word in a sentence?
Not if it's part of the sentence rather than being a separate text box.
MVP Microsoft [Publisher]
"L." <firstname.lastname@example.org> wrote in message
> Office(publisher) 2K.
> Is there anyway to rotate a specific word in a sentence?
Thanks for the info.
"JoAnn Paules [MSFT MVP]" <email@example.com> wrote in message
news:U46dnd7PfZ5CTBHenZ2dnUVZ_sidnZ2d@suscom....Plain text warning/ VS2005
Whenever I add a CRecordset derived class, I get an error telling me the
password for the DB is sent in "plain text" and is not secure etc. I
comment that line out, but how much of a security risk is this? What can I
do with my Access database to avoid this? VC 6.0 never gave this error...
If you are on any kind of network that anyone can look at, you are wide open for attack.
Example, a University network; potentially, ever student can be running a packet sniffer
and see your password. Anything that passes acros the Internet outside your local
intranet is also vuln...Combo Box Prolem
I have a combo box that will not let me select the items using my mouse. I
can use the Arrow Down Key and then hit TAB to select the item. The only
thing that I think may be causing this is the ROW source. I have this change
depending on the company location.
See Code that fires when the user select the Customer ID. The 3rd line from
the bottom sets the ROW source for the item. The combo box is bound to a
feild called ITEM. Maybe this should be unbound. Can anyone help?
Private Sub CustID_AfterUpdate()
Dim stFilter As String
Dim stEmp As String
Dim stCoNum A...shading behind text
I would like to place white text within a box of gray shading. When I
use the 'background' function, it shades the entire document. How do I
limit the background to a line of text?
Depending on your preference I can think of at least 3 ways, but they all
may not be available to you... or instructions may vary. It depends on what
version of Word you're using & you haven't even indicated whether it's
Windows or Mac. Since you posted to the Mac Word group I'll assume you're
using a Mac version & further that it is the most current (2008):...How to get the text of each selection?
Hi, Dear All
We can use Ctrl key and mouse to multi-select range in a document, but if
somebody could tell me how to get the text of each selection?
Sorry, it is not really possible. See
The closest you can come is to use Selection.Copy, then open a new
blank document and paste. The individual pieces will be separated by
paragraph marks, but you can't distinguish between those and any
paragraph marks that might have been in the middle of some pieces.
Microsoft Word MVP FA...Dialog box icon
I would like to know how can i change the default icon of my dialog box ?
I don't find anywhere a setting for that.
"Maileen" <firstname.lastname@example.org> wrote in message
> I would like to know how can i change the default icon of my dialog box ?
> I don't find anywhere a setting for that.
See if using WM_SETICON or CWnd::SetIcon is the solution.
Jeff Partch [VC++ MVP]
...Text Search in for the field of memo does not workd
Here is my VBA, but does not work for text search in my textbox search.
Private Sub Txtcari_AfterUpdate()
Dim strSQL As String
strFilter = "([Nota] LIKE """ & "*" & Me.Txtcari & "*" & """)"
Me.Filter = strFilter
Me.FilterOn = True
CurrentDb.Execute strSQL, dbFailOnError
Thanks in advance for your help.
H. Frank Situmorang
You've declared strSQL, and you attempt to use its content with the Execute
method, but you haven't assigned anything to it.
Doug Steele, Microsoft Access M...Further Info on changing text in one cell to to criteria of another.
I have a workbook that charts the progress of my clients. One of m
cells automatically determines their age, and when they become olde
than six, I need another cell's text to automatically change to "AO
(standing for "Aged Out" of my program). I cannot us the functio
=IF(A1>6,"AO"," ") because I already have the clients status imputed i
that cell. I need it to be a type of conditional formatting or VB cod
so that it will automatically change once the reach 6. I have attache
an example of my workbook. It has a VB code that changes the row colo
based on ...Cropping text from a number
I am doing a staight comparisions of two numbers in two
different cells (a percentage increase)
However one of the numbers I am using has an asterisk on
the left hand end of the number.
Obviously excel cannot calculate the increase given it is
not redaing the cell as a number.
How can I right a formula so that excell does not read the
asterisk rather only the number
any help would be appreciated
You could set up an extra column to the right of the offending numbers
Data > Text to Columns
Or you could set up and extra column and parse the offending numbers
...Current Year to display in text
Is there a way to get the current year to display in a title if there is
other text with it?
I have a sheet with the following text in it: 2011 Benefit Time
I'm looking for a way have just the year update itself at the change of
the new year so when someone opens a blank form in 2012, it will read
2012 Benefit Time
Again, the title is all in once cell with it centered. I would rather
not place the date in the cell by itself. Is there a way to insert just
a date prior to text inside a cell? Or Is there an insert date option
like in MS word?
Am Thu, 23 ...imaged combo box
combobox to be made imaged . (MFC dialog based application)
i mean loading images on combobox for desired look.
thanx in adavnce.
If you are asking to use images with CComboBox, you can use
This discussion may be interesting to you:
"Neel" <email@example.com> wrote in message
> hi group,
> c...Font formatting in Active X Control boxes
I've created a form using Developer Contols Active X Controls, specifically a
text box field. I've highlighted the entire document and set the font at
Arial 12 pt. Some of the text box fields fill with Arial 12 pt. and some fill
with Times New Roman 12 pt. How do I change the formatting so ALL the fields
print using the same font and point size?
Make sure Word is in Design mode. Right-click an ActiveX control and choose
Properties. Set the desired font in the properties window.
Note, however, that ActiveX controls aren't very easy to deal with. (For one
thing, mac...How do I wrap text in a text box around another text box
I'm creating a newsletter with columns. I have a horizontal text box with
the article title. I want the vertical column at the same height as the top
of the horizontal column. Right now the text in the vertical column is going
through some of the horizontal box. I want it to wrap. I've tried to
selecting "square" for each of the two boxes wrapping style. Nothing
changes. How do I get the text to wrap around the horizontal text box? I'm
using Publisher 2003
I found a way around this by copying another textbox from the template that
was apprently already set ...Text Box within a Text Box
I am creating a brochure and want to put a testimonial (text box) in within a
services text box.
I would like the text in the services text box to continue to flow around
the testimonial text box.
How do I make this work?
Right-click the services text box, format text box, layout tab, select square or
tight. Be certain the testimonial text box is in front.
Actually it should flow around automatically.
Mary Sauer MS MVP
"MEG" <MEG@discussions.microsoft.com> wrote in messag...How to get all the texts on all type controls in form?
I want to make the multi-languages program, want to get all texts of each
control item in a form, then read the XML file (Control Name and Text) to
write to the text of control, and have wrote some codes, but seem that it's
complicated. Can anyone tell easy method or sample? thank you.
Public Shared Sub AllControlOnForm(ByVal FormName As Form, ByVal xPath As
String, Optional ByVal ToolTipName As ToolTip = Nothing)
Dim ReturnValue As String = GetXMLText(xPat...Odd Text Box
I have what looks like a text box on my Excel spreadsheet.
However, I cannot highlight it and therefore cannot delete
It does not have the normal borders of a text box in fact
it looks a bit like a multiline combo box.
Has anyone seen this before??
Thank you for your help
Maybe it's a Listbox.
If it's a listbox from the Control toolbox toolbar, try showing that same
toolbar. Then click on the Design mode icon. Then see if you can select the
It could be from the Forms toolbar, too. Unprotect the sheet (if you need to)
and see if you can rig...Multiple combo boxes on a form
I have a form based on two tables. I would like a combo box for a field from
each table that will fill in various fields from the relevant table. Does
anyone have any suggestions?
On Fri, 17 Aug 2007 23:58:37 GMT, "Malt" <u36720@uwe> wrote:
>I have a form based on two tables. I would like a combo box for a field from
>each table that will fill in various fields from the relevant table. Does
>anyone have any suggestions?
Why would you want to do that?
It sounds like you're trying to store data from one table redundantly into a
second table. This is essentially ...can't delete text box word 2007
I am using Word 2007 and Windows Vista. I inserted several text boxes, and
now want to delete them. I have selected the box and hit delete, but it is
not working. I am sure the cursor is outside of the box, not in the text
portion. Any suggestions would be greatly appreciated.
Are they floating? This may be a bit of a bug. Try right-clicking and making
them In Line. Then select and Delete them.
Terry Farrell - MSWord MVP
"TL" <TL@discussions.microsoft.com> wrote in message
> I am using Word 20...