473,326 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Macro to insert text box at insertion point

Hello All

Can someone point me in the right direction? I want to write a macro that will insert a text box into a Word document at the current insertion point. Also to format the box, i.e. Font, font size, etc. I can get the box ok but not at the insertion point.

Thanks in advance.
May 15 '19 #1
1 1599
zmbd
5,501 Expert Mod 4TB
are you using the IDE from Word or are you using a VB-IDE... makes a difference in how we approach this problem.

Also would you please post your code?
copy-n-paste usually works well, select the text, and format using the [CODE/] tool in the menu-bar.

Thanx
Z
May 15 '19 #2

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

Similar topics

0
by: sympatico | last post by:
I'm developing a program that allows the user to click a button to input an html tag into a text document. What I'm having trouble finding is how to insert the text at the insertion point instead...
3
by: (Pete Cresswell) | last post by:
I've got this DoCmd in a fields Change() event so that as the user types, the underlying table (also visible in another screen...) will be updated in realtime - instead of waiting for the screen TB...
1
by: Carlos Lozano | last post by:
I need to merge the content of two richtextboxes. It can not be accomplished using the RichtTextBox.Text field because all format will be lost. So it has to be done using the RichtTextBox.Rtf...
2
by: DaveR | last post by:
Can anybody help me to a)get the user's cursor insertion point (caret) from a multiline textbox, using client-side script I suppose, and then b)return the position to VB code behind? I have...
1
by: Jonathan Smith | last post by:
I have a text file and i need to be able to insert text into it at specified points. How do i do this?
19
by: tkpmep | last post by:
I have an ordered list e.g. x = , and given any positive integer y, I want to determine its appropriate position in the list (i.e the point at which I would have to insert it in order to keep the...
0
by: Jon Paal [MSMD] | last post by:
anyone have a quick example of using insertion point of data with MSWC.Tools ? e.g. how can I send data to "div" tag ? Set oTools = Server.CreateObject("MSWC.Tools" ) oTools.processForm...
0
by: Jon Paal [MSMD] | last post by:
anyone have an example of using insertion point of data with MSWC.Tools ? e.g. how can I send data to a "div" tag ? Set oTools = Server.CreateObject("MSWC.Tools" ) oTools.processForm...
1
by: qwilteeeBing | last post by:
I'm hoping someone could tell me how I would go about changing the appearance of the text-insertion cursor in Windows. I need it to appear as it does exactly in Command Prompt, a horizontal block,...
1
by: yptrumpet | last post by:
Hi all. This is a bit of an aesthetic problem. I have a form containing two subforms and two comboboxes. When the forms first load, the first combobox receives focus. I'd like the text input...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.