• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Question regarding ActiveX objects

Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear mates,

I am working on something and need a solution urgently...

This is what i want...
I have a html page which has 3 fields, A, B and C.
When user enters these three fields and clicks on a button called create,

1. A word document has to be created using these three fields.
The word document has to have A as right aligned, B on the next line as center aligned and C on the third line as left aligned in bold and italics.

2. An excel needs to be opened and the data written into it. A,B and C should be written into the three cells in it.

I was trying to have the code for point 1 as follows:

However, am struggling to get the alignment of the text in the document right.

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic