how do you tell Results

Page 13 of 44.
Results 241...260 of 878

Sponsored Links:

I had Win98SE and used Notepad to do simple html for a webpage. Then I got XP and Word, and for some reason (my ignorance?), I can't figure out how to do this
same simple html....... (Do you want Word to become your default html blah , blah )..Several clicks, thinking I was finding the right way, ended up cutting me off completely. Can anyone tell me in a string-like fashion (go here, click this, etc.)how to simply code four images with captions for the four, so I can upload it onto my webpage???
I tried the Windows Help files, but you know how that is..............HOPELESS!
Thanks for past help, and this help, too.

I've written the following code to put a watermark on every page of a document:

- - - - - - - - - - code start - - - - - - - - - -
Sub AddWatermark()
Dim sect As Section
Dim sText As String

sText = InputBox( _
Prompt:="Enter a string for the watermark", _
Title:="Watermark", _
Default:="D R A F T")
If sText = "" Then Exit Sub
With ActiveDocument
For Each sect In .Sections
If sect.PageSetup.DifferentFirstPageHeaderFooter = True Then
AddWatermarkToHeaderFooter sect, sect.Footers(wdHeaderFooterFirstPage), sText
End If
If sect.PageSetup.OddAndEvenPagesHeaderFooter = True Then
AddWatermarkToHeaderFooter sect, sect.Footers(wdHeaderFooterEvenPages), sText
End If
AddWatermarkToHeaderFooter sect, sect.Footers(wdHeaderFooterPrimary), sText
Next sect
End With
End Sub

Private Sub AddWatermarkToHeaderFooter(sect As Section, hdrftr As HeaderFooter, sText As String)
Dim oShape As Shape

If hdrftr.Shapes.Count > 0 Then
If MsgBox( _
Prompt:="Do you wish me to replace the existing shapes with a watermark?", _
Buttons:=vbQuestion + vbYesNo, _
Title:="Watermark") = vbNo Then Exit Sub
End If
For Each oShape In hdrftr.Shapes
Next oShape
Set oShape = hdrftr.Shapes.AddTextEffect( _
PresetTextEffect:=msoTextEffect2, _
Text:=sText, _
FontName:="Times New Roman", _
FontSize:=96, _
FontBold:=msoTrue, _
FontItalic:=msoFalse, _
Left:=0, _
oShape.RelativeHorizontalPosition = wdRelativeHorizontalPositionPage
oShape.Left = (sect.PageSetup.PageWidth - oShape.Width) 2
oShape.Top = (sect.PageSetup.PageHeight - oShape.Height) 2
oShape.Fill.ForeColor.RGB = RGB(240, 240, 240)
End Sub
- - - - - - - - - - code end - - - - - - - - - -

And it works rather nicely except when the document has different headers/footers for the first page and/or odd and even pages selected in page setup:

Neither box selected: Doc has a watermark on all pages.
Different first page selected: Watermark is on every page except the first.
Different odd and even selected: Watermark is only on every odd page.
Both selected: Watermarks appear on ever odd page starting with page 3.

I see the pattern in here, and I attempted to code for it above, without success. As far as I can tell, there seems to be no difference which footer I select to use (using the wdHeaderFooterFirstPage/wdHeaderFooterEvenPages/wdHeaderFooterPrimary parameters), since all of them put the watermark in the same location in the document anyway.
The entire blue section of my code above could have been replaced with just the last line of it!

I'm stumped. How can I assure that a watermark appears on ALL pages of a document?



I would like to create a template? Can any one help with step by step instructions to do it. I'm new to technical writer profession and i would like to get the help from you all. Like making TOC, Index. How to create indexes and etc? Is there some one to help me I would like to create a template for user manuals. I tried then . Frankly telling i need step by step instuctions as i'm new to this profession.


Somehow I have managed to assign a typed report to my new blank document template. If I delete the file, all of my macros go along with it. This is the second time that I have done this now. The first time that I did this, I had to recreate all of my macros. Can someone please tell me how I am doing this and most importantly, how do I return the normal blank template back to its normal state so that all of my macros function normally?

Thank you for your help,

Can you tell me please how I would set up a desktop shortcut to print a Word document. The facility is for the "technology challenged" in the office who have great difficulty following instructions. I just want them to be able to click on the shortcut and it will automatically send 10 copies of the document to the colour laser printer. (I always want it to print 10 and it always must be to the colour laser). I do run a small (3 machines) network and the document is on one machine but the printer is a shared local printer attached to a different machine. I guess it probably is just a shortcut to a .bat file which will then send the document off but how do I do it?

Hi all,

I've got a huge text in Word XP, a scanned dictionary with a 1,000+ pages, and since the pronunciation of the words I find totally useless I'd like to get rid of that.

So could somebody plz tell me how do I replace everything between the square brackets, including them of course, with... well, nothing? With empty space, that is.

The square brackets, as I'm sure you do know, are reserved for some kinda wildcards or something, so it is a kind of problem.



Can anyone tell me where Word stores the settings in the four tabs in the Tools-AutoCorrect dialog box? (Registry, Normal, acl file? I'm confused.) If I want other computers that already has Office installed on them to have certain AutoCorrect (and AutoFormat) settings, how do I set those (other than actually changing it in Word)?

Thank you so very much!!!

(Edited by jscher2000 on 11-Jun-03 23:04. Subject line made more descriptive to invite more lookers.)This question may have been addressed before, but I've checked all of the recent Word and Access Posts and haven't found an answer to this problem. I work at a law firm that has migrated from Word 95, to Word 97 and we are now using Word 2000. For this reason, many of our documents and templates have been created in prior versions of Word and we will continue to use them when we upgrade to Word 2002 next month.

We have numerous Word merge templates, that we use to create corporate document packages. Each Word merge template is linked to its own Access database. When we open the Word template (through Docs Open) Word remembers that it is a template, displays the merge tool bar, initiates the DDE and then opens the corresponding Access database. I created a few of these templates myself, and I don't remember doing anything in particular to make Word save the document as a merge document, link it to the Access database, remember its location and open access with DDE. All of this information and corresponding links was saved with (or within) the merge document template.

Although this information still works on all of the existing databases, I have recently (in March) created two new merge templates, and Word is not saving any of the merge information. It does not save the document as a merge document, nor does it use DDE to open the corresponding Access database. I have searched through the Knowledge base articles and have not been able to find anything that specifically addresses this problem. I suspect it is related to the SR-1 update because I believe I did not have this problem until it was recently installed. Do you know why this is happening? Can you tell me how to make Word store the document as a merge document and save the data source information?

Evening all!

I have a problem that I have spent all day trying to solve. I found this useful "date sequencer" courtesy of Greg Maxey. (hope that's right). It's got all the bells and whistles to add a manual, time date, and make the tea!

Trouble for me is it comes with a toolbar. I want it to be called from a bookmark.

To have it working basically as a pop calendar, the bookmarked text form field calls it up, you put in what you need to, it overwrites existing input (the same as a popcal) and you then close it.

I know its to do with inserting the bookmark name into the vba code but there seems so much of it, I got a bit lost!

Don't get me wrong, I, with no real vba experience, have spent all day trying to do it and I have managed to be able to call the calendar, but once I give it a date and press "OK" I get an error.

I cannot find anywhere a popcal with an option to input your own time, handy if you want to put a previous time in.

If someone can have a look and tell where that elusive bookmark goes in the code, I would be a very very happy man!

I have uploaded the original, there was no real point in sending in an example because if someone knew how to bookmark and run it, it would be job done.

I will be up for a couple of hours so I will look out for replies.

Here's hoping......

I have been trying to write a VBA macro (described below) myself for nearly a week and simply do not understand enough about programming to do so. I am hoping someone here will be willing to help me, either privately or here on the forum.

Here is what I am trying to accomplish:

1. When I come to a word or phrase in a document that I want to mark with highlight, I want to select the word and then run the macro.

2. The macro should bring up a message box asking whether I want to highlight the term, Yes, Cancel.

3. If I choose yes, the selected term is highlighted, the term is deselected by moving the cursor to the position immediately following the term, and the macro then (a) inserts a bookmark called markreturn and then ([img]/forums/images/smilies/cool.gif[/img] searches the document forward only for the next instance of that exact term, including case match and any punctuation (the term could be a single word or a phrase, i.e., its character length and content can vary with each running of the macro).

4. If it finds another instance of the term, a message box appears asking if I want to highlight the term, Yes, No, Cancel. Yes highlights the term and then causes the macro to search forward only for the next instance of the exact term; no bookmark is inserted. No skips this instance of the term and searches for the next instance, and if it finds the term, this step is repeated.

5. This process continues until the end of the document is reached or no additional instance of the term is found or Cancel is chosen. In each of these instances, the macro returns to the markreturn bookmark and quits.

6. When the macro quits, the Find term has to be cleared out so that the next time the macro runs (or the next time I do a search with another macro) there is no accumulation of terms.

With some struggle, I was able to write a portion of the macro so that it highlights the selected term in the first instance, but I was unable to figure out how to get it to search again. However, that coding has morphed into something else that doesn't really work and I (stupidly, I admit) didn't save iterations of what I was doing. (Can you tell that I'm not much of a programmer?)

Any help will be appreciated. Thank you for your time.


After not checking for updates for several months, a few days ago I applied a large batch of security updates to my Office 2003 programs using Microsoft's Office Update site. Essentially I accepted the installation of everything that the Office Update site said I needed after it scanned my system. The specific updates applied were as follows:

Microsoft Office Compatibility Pack Service Pack 1 (for the Office 2007 Compatibility Pack, which I had installed many months ago), plus the associated Office 2007 security updates KB955936, KB951944, KB951808, KB954326, and KB954038
KB954464 (security update for Word 2003)
KB955439 (security update for Access 2003)
KB957257 (update for Outlook 2003 junk mail filter)
KB955466 (security update for Excel 2003)
KB921598 (security update for Office 2003)
KB953404 (security update for Office 2003)
KB953432 (update for Outlook 2003)
KB954478 (security update for Office 2003)
KB950213 (security update for Publisher 2003)
KB948988 (security update for PowerPoint 2003)

Ever since then, whenever I open Word, I first get a dialog box whose first line says "Opening this document will run the following SQL command:", followed by a blank line (i.e., no SQL command is listed), then a line that says "Data from your database will be placed in the document. Do you want to continue?". Once I click either "Yes" or "No" (it doesn't seem to matter which), the dialog box goes away, and everything seems to operate normally. I have Word set to start up without creating a blank new document, so there's no document for any database data to be placed in. Furthermore, I don't have any database linked to any of my documents by a macro or anything else. If I open a Word by double-clicking a document in Windows Explorer, I get the same dialog box at the outset (before the document loads), but this time it's overlaid by another dialog box that says "The command cannot be performed because a dialog box is opened. Click OK, and then close open dialog boxes to continue." Once I click OK on this dialog box and then click "Yes" or "No" on the original (underlying) dialog box, the document loads, and everything seems fine. If I close a document but leave Word itself open, and then open another document, I don't get any of these dialog boxes, so the behavior seems to occur only when Word first opens. Nothing like this (or anything else unusual) happens when I open Access, Excel, or PowerPoint. Can anyone tell me what's going on and how to make it stop?

Thanks in advance for any help,
Vance Hamilton

I originally designed our documentation system using Win 2000/Office 2000 to be used over our intranet. The system has an html front end, index, and opens Word from there. Everything worked just fine until I installed Win XPP and Office 2002 on my machine. Luckely only myself and the IT Manager have these installed.

The problem I am getting is that when I click on the link to open my contents list I get a message saying do I want Open or Save the document & a check box with "Unclick if I don't want to see this again". No matter how many times I unclick the checkbox it still pops up.

OK so I tell it to Open and then I tell the next document to Open as well. Both of these have been generated using TOC feature. Now when I come to access a form from within a document I get "You have made changes to this document do you want o save it?". Bloody hell all I want o do is look at it and maybe print it! All right I've got what I want and start to back out. it starts all over again in reverse order.

Can anybody tell me what is goin on? I have tried resetting the IE security settings and changing access levels.

I have one harddrive, and last year I partitioned it and made a second partition, so now I have drive C & D.
I now would like to make partition C: larger by taking space from D. Can you tell me how to do this? Details please.

I am running Windows XP SP3

I bought a second desktop computer (P4, 1.6GHZ, 37.2GB HD, 224RAM) at an auction last week and on booting up have found I am unable to get the mouse working (tried all 3 of the mouses I already have - didn't get one with the auctioned computer). The cursor appears, but won't move. I tried running setup from a floppy that came with one of the mouses, but it wouldn't work: MS DOS window came up with the name of the previous computer owner (a Westpac Bank employee - the computer was used by Westpac).

The computer OS is Win XP Pro. I do not have the disk. I do have Win XP Home, which I got with my other computer, bought new.

My questions are:

1. How do I get the mouse working? Could there be some issue to do with however the computer has been configured at Westpac?

2. Is it best all round if the computer HD is wiped clean and reformatted?

3. If so, can I use my XP Home disk to reformat, or is there some serial number or whatever that tells Microsoft that I am using the same disk to install XP Home on two computers (I believe you're not supposed to do this...any way to get around it, or must I buy another WInXP Home CD?).

4. Anyone recommend a link to a "how to" explanation of the best procedure to follow to reformat and install XP Home?

Our company was sold and the new company replaced all of the computers. We had Office 2000 Professional on the old computers and now we have Office 2000 "Premium". To me it shouldn't make any difference?

1. We use an employee database which is now acting strangely on the new computers. Doesn't matter which computer. When printing a report, I had set the margins to .25 for each side and they have always printed correctly for years. The new "office" sets them back to 1". I have now gone into the setup to change them back to .25 no less than three times. It was working fine until this morning when Access did it again. Do you think this has to do with the different Office? It's still Office 2000 with Access, Excel, etc. I'd really like to fix this as it's driving me nuts.

2. On a different note, which I've also never seen before, after bringing up an Excel spreadsheet and working on it, when I try to save it, Microsoft tells me that the file no longer exist and that it has to save it elsewhere as an alpha-numeric file name. Can't save it using the same file name. When I look at the file in Explorer, it's listed, but you can't access it. It will disappear when I reboot the computer. I don't understand how the file could not exist if Excel let be open it in the first place. I don't like the thought of my files disappearing.

I was thinking of uninstalling Office Premium and reinstalling Office Professional.

Any thoughts?

I often find myself wanting to provide an easy way for users to change the sort order of records in continuous forms.
The simplest way to do this seems to me to use vba code to set the "orderby" property of the form. But what I find is that sometimes it works, and sometimes it doesn't.
I read somewhere that for Reports, the orderby property only takes effect if the orderbyon property is set to true.
Is the same true for forms? It seems to be, but how can I tell whether a form's OrderByOn property is true or false? It seems to me to be a hidden property.

I attach a little db with 3 forms. The first two forms look the same ,except that the sort buttons work on one form and not the other. Can anyone tell me where to look to see why they don't work on form2.

On form3, you can turn the sorting on and off, using the yes/no buttons.

In a way, I have already solved my own problem.
If I always preceed any line of code me.Orderby = "some field" with me.orderbyOn = true , then the sorting will work.

this code is in "on click" on the command button.

This code with create a custom message box and delete the record, but it doesn't stop the system message from showing also. I have to answer yes to the custom box, then answer yes to the system message to delete the record. How do I suppress the system message and only show my message?
I'm not real good at this (if you can't tell), so please answer in simple terms !

Private Sub DelInquiry_Click()
Dim myresp As Integer
myresp = MsgBox("You are about to delete the record for" & [LFNAME] & " " & Chr(13) _
& [LLNAME] & ", are you sure you want to delete this record?" & Chr(13) _
& "You will not be able to undo if you say YES.", 4, "My Company Name - Warning!")

If myresp = vbNo Then
Cancel = True
End If
If myresp = vbYes Then
DoCmd.RunCommand acCmdDeleteRecord
End If
End Sub

Can you, please, tell me how to operate this code?

I have code written on Click of the button.

Now I have to use this code below to set up running of my Update code in certain time.


Sub timer_set()

Dim PauseTime, Start, Finish, TotalTime
Dim TT As Date
Dim TT2 As Date
Dim varMSG As Variant
Dim then_start As Date

TT = Now()

then_start = InputBox("Enter Start Time in MM/DD/YYYY ##:## AM/PM Format")
'then_start = "12/8/2008 7:05 am"
Start = timer ' Set start time.

Do While Now < then_start
DoEvents ' Yield to other processes.
Finish = timer ' Set end time.

TotalTime = Finish - Start ' Calculate total time.

TT2 = Now()
varMSG = MsgBox("Started: " & TT & " Completed: " & TT2, vbInformation)

Where am I suppose to insert this code for it to work?

My Update code is :
Private Sub My_Update_Code_Click()

DoCmd.SetWarnings False

DoCmd.OpenQuery "1-A"
DoCmd.OpenQuery "1-X"

MsgBox "Report data was refreshed successfully, you can run the Reports now!"

End Sub

Thanks so much! Good weekend!


I have the following code:

Private Sub Command69_Click()
On Error GoTo Err_Command69_Click

Dim stAppName As String

stAppName = "C:Windowsexplorer.exe"
Call Shell(stAppName, 1)

Exit Sub

MsgBox Err.Description
Resume Exit_Command69_Click

End Sub

What I'd like to do is make this work like a 'shortcut' and go to a specific directory when the Windows Explorer application runs. So, I'd like "Windows Explorer" to open, then go to a specific directory, 'C:1A_Image_Database'.

Is this possible? If so, can you tell me how?


How can I carry some data from a current record into a new one?
I have a database which contains information from several accounts.
When I create a new record from a form, I want the new record to automatically include the same account ID as the record I was working on when I tell the form to create the new record. I know how to do this if the new record is in a subform, but in this case I do not want the information in a subform. It will be a new record in a single form.

Ideally this would happen regardless of whether the new record was generated using a button I create, or whether it was generated using the navigation buttons at the bottom of the form - but if necessary it could be tied only to the button I create myself.

This database is currently in 97, but might be upgraded to 2000 at some point.

Thank you,

Page 13 of 44.
Results 241...260 of 878