Hi macropod
The Release Notes for Office 2007 SP2 mention that the following bug
was fixed in SP2.
That would explain why your macro was producing different output in SP1.
macroprod
That was very helpful.
Few things I would like to point out:
The document is generated by a C# program and I have full control over what/how fields get inserted into the table cells.
i.e, the code that inserts the locality table cells looks like this:
- Add a table cell
- Set...
Hi macropod,
In my case, your macro results in the following:
---------------------------
Microsoft Word
---------------------------
Page: 1
First Cell, First Word: Abbeywood
Last Cell, First Word: Bushland Beach
---------------------------
OK
---------------------------...
macropod,
I am not sure what I am doing wrong. But your macro results in the following message box for all 4 pages.
---------------------------
Microsoft Word
---------------------------
Page: 2
First Word:
Last Word:
---------------------------
OK
---------------------------
I am...
macroprod,
Thanks. But your macro produces the same result as mine.
Set oPg = .GoTo(What:=wdGoToPage, Name:=i)
Does not loop through all pages - but instead it gets the entire document as page 1.
I dont think there is nothing wrong with your macro, but there is something funny with...
And besides, I have other reasons to write a macro to loop through the document page by page.
i.e, every entry in the table has a sequential number associated with it.
ie.,
Apple 1
Ball 2
etc....
I achieve this by adding a field to each row
Apple {SEQ test}
Ball {SEQ test}
I want the...
I am developing something that looks like a yellow pages kind of document.
On odd pages, I want to display the first entry of the page in the header.
On even pages, I want to display the last entry of the page in the header.
Let me know if this doesn't make sense and I can post screenshots.
Hello all
I have a word document that has
- two column layout
- a table that has header repeating on all pages (and allow row breaking between pages turned OFF)
The document has about 40 pages.
I would like to loop through the document page by page, and add a section break at the end of...
MySQL for some reason is not happy with this :
select * from cr_person where id in (
select person1,pereson2,person3,person4,person5,person6 from cr_team where teamid = 1
)
Executing
select person1,pereson2,person3,person4,person5,person6 from cr_team where teamid = 1
gives me...
Hi all
This is what I want to do: Whenever someone clicks on a external link on my website, i want the external link open in a new page that has a frameset. the top frame should display banner ads whereas the bottom frame should display the external link the user clicked.
i got a javascript on...
Hi there,
I have been asked to write a simple guestbook application using JSP & XML. The data will be stored into a XML file (and not a database) and the JSP page should provide the user with ability to browse thro' existing entries, find a particular entry, add an entry.
It would be great if...
Alright, I have added a proper doctype, corrected the xml syntax and added few as well. But it still doesnt display properly in IE
http://home.iprimus.com.au/pari/top.html
@Vragabond,
Thanks for your comments. I am just learning CSS now - can u please explain how I can achieve the same...
Why dont u put the resultset in the session - So that you dont have to make a database call again and again?
[code]
<%@ page import="java.sql.*" %>
<% ResultSet resultset = session.getAttribute("resultset",resultset);
if (resultset == null) {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")...
http://au.geocities.com/mexicomeat/index.htm
Firefox displays the table just the way I wanted. But IE, for some bizarre reason doesn't display the middle image. Any one knows why?
Here is a screen shot of what i would like to achieve:
The top section (header) will just display an banner image. The main section needs to be split into two frames (one for the menu and the other for the main page.
Here's the code for the header(banner). [I've created a rounded rectangle...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.