473,503 Members | 3,045 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

To programmatically add, modify, or read a table cell in a Word document:

syedshaffee
91 New Member
hi people,
i have uploaded a file that has table in word

This Doc is generated through my user interface in access

I want to merge the cell after, completion of the generation process

Is their any way to do so in access please help
Attached Files
File Type: doc To programmatically add.doc (34.0 KB, 402 views)
Sep 11 '12 #1
3 4340
TheSmileyCoder
2,322 Recognized Expert Moderator Top Contributor
Why dont you show us your code currently used to create the table? That might make it easier to reply in sense.
Sep 11 '12 #2
Rabbit
12,516 Recognized Expert Moderator MVP
This selects and merges cells on a table.
Expand|Select|Wrap|Line Numbers
  1. WordApp.Selection.SetRange _
  2.    WordApp.ActiveDocument.Tables(1).Cell(1, 1).Range.Start, _
  3.    WordApp.ActiveDocument.Tables(1).Cell(1, 2).Range.End
  4. WordApp.Selection.Cells.Merge
Sep 11 '12 #3
syedshaffee
91 New Member
Thanks rabbit i see if this works
Sep 13 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
4975
by: Anon | last post by:
I have a table with a cell. The cell's ID is created using a unique name that is held in m_UniqueCellName and the cell is created like so... document.write( "<TD ID="' + m_UniqueCellName +...
4
5898
by: josepe | last post by:
Hello, I want to do a Ms Word document in a ASP page. I can do it, With the code lines: ///// Response.ContentType = "application/msword" Response.AddHeader "content-disposition", "inline;...
4
12358
by: Tom Dauria | last post by:
What I am trying to do is write a resume into a word document from information in an Access database. I have been using bookmarks and inserting table results into the document and so far it's...
8
2792
by: Tim Murphy | last post by:
How do you read/write a Word document embedded in an OLE Object field in an Access table with VB.NET? I have an Access application where users are creating and editing Word documents that are...
0
1819
by: Anton | last post by:
Hi All, Is it possible to read through a word document, find a number of strings (using wildcards) and prompt the user to enter values for them. I have a document management database that builds...
0
8641
southoz
by: southoz | last post by:
Good ay all , I'm fairly new to access(a little over 5 weeks now). Since I'v started I have picked up a lot of useful information from forums such as this and in doing so will share that information...
7
2432
by: SteveM | last post by:
I am sure this is an easy question, but being relatively new to ASP.NET programming, I can not quite grasp what I need to accomplish what I need to do. What I have is a word document that is...
3
3065
by: Gops | last post by:
programmatically I've to create word document which contains the paragraph in the right side and in left side is line number. Note:- The line number may be ordered/odd or Even. Any one can help...
0
781
by: cholletivinod | last post by:
Hi friends , am creating one application in dat i want to replace particular text(<<ABC>>) with a table in word document am using below code but am getting text if i open the...
0
5249
by: shivapadma | last post by:
i want to know how multiple tables are added to the MS word document using vb.net i wrote following code to insert one table in MS word document using vb.net 1.opened MS word document 2.inserted...
0
7193
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6975
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4992
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
371
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.