[word] saving combobox data -
I have a userform that has a combobox in it. The combobox starts empty, then when a user types in a new string, that string is added to the combobox, up to 5 entries. I want the last 5 entries that were in the combox when I quit, to stay in the combobox when I open the document. Is there any way to do this. Thanks.
[word] saving combobox data -
I have a userform that has a combobox in it. The combobox starts empty, then when a user types in a new string, that string is added to the combobox, up to 5 entries. I want the last 5 entries that were in the combox when I quit, to stay in the combobox when I open the document. Is
"comboBox text entry" problem -
Hi everybody,
I have two comboBox controls on a form, and one of these controls isn't behaving itself!
I believe I need to find and eliminate code that tells the control how to accept data. When I try enter a new item in this comboBox, all I will see in the comboBox is the last cha
Combobox problem (super urgent) -
I have a combobox populated with data from the database.
I cant see some of the data when i select the combobox dropdown list.
Anyone got any idea??
Is there a limit on how many items the combobox can display at one time?
i tried typing the data in the editable region of the comb
[resolved] function returns combobox -
Hi,
On a form I have a combobox that I want to be filled with data.
I fill a different combobox with a dataset and the combobox datasource. I do this in a seperate class-file. Now I want to return this combobox to the combobox on the form. However this results in no data in the com
Error Printing a word document -
Hii
I have a program that takes the data from the form and inserts into a word template. and when it tries to print the word file as saving it there is a message
"Word is currently printing. Quitting word will cancel all pending print jobs, Do you want to quit word? "
Autolength combobox -
i have a combobox. the length of the combobox is fixed.
i dont wnt to adjust the length as i want my form look neat so i want all combobox are in the same length.
but the problem arise when the data that loaded in the combobox is longer than the combobox length (like in the attachmen
saving data from vbform to microsoft word -
Hi all,
Hope this finds you well tuned.
I am now in a problem. What I want to do is that I will put some data in the form. now the data will be concatenated at appropriate places in a string and will be saved as a word document. I don't know whether I am clear to u about my desir
Loading Word doc To RichTextBox -
Hi all,
Does anyone know how 2 load a word document into a RichTextBox control and keep the format of the word document. I've tried LoadFile but certain parts of my RichTextBox lose some of the formatted data of the Word document. Also have tried saving the Word document as a rich
need help with crystal report viewer and no database -
So far i've been working with a crystal report connected to a database.
the problem is that i register data in a form and i don't want it to be saved in the database ..I wonder if it is possible to load a crystal report with data from a textbox, a combobox before saving the data
for
[2005] ComboBox staying open whilst code runs -
Sorry if the title isn't very clear, I'll try to explain it.
I have a combobox (DropDownList view) that contains a list of machines. When the user selects a machine from the list the application goes off and gathers data from the machine. This *can* take a while. What's bugging m
how to make combobox which contains colours like in word -
Hi Guys,
How can I have a combobox that displays system colours so that users can select a colour for text like in word.
Saving word document as plain text -
I have a folder that contains about 300 word files that i need to have converted to .txt files so that i can import them correctly into an excel application. Was wanting a little help coming up with a macro to automate this process verses opening and saving each one individually.
T
Problem in saving as word document through VB application -
My application has a listview which contains data in view mode: lvwReport.
I want to generate a table in MS-Word and save the document containing the data form the listview in .doc format.
The problem I'am getting is that first time the data can be saved properly in a word docume
Combobox to Write data to -
Hi.
In VB Dot Net 2005. Is it possible for a combobox not only to display data binded to some dataadapter but also to write and update data in it?
For example let's say that i have a combobox binded to a adapter and then to a field that displays road names. When you click on the comb
populating the combobox -
hi,
does the combobox in vb work the same as in access.
i mean in vb 6.0 i have a combobox ;i want to retrieve all values in a field from database using ado programming into combobox, based on the value i select in the combobox i want the corresponding values in the textbox.
i k
[2005] Update XML with imported data -
Hi,
I'm exploring XML for the first time with VB.NET 2005 Express, and I'm having trouble with something.
The project is an Exchange Rate database, and the data I'm working with is the Country, Currency, Exchange Rate, From Date, To Date.
I'm reading in a Word document containing th
String search combobox -
I've got this stupid small problem!
I've got a textbox, a commandbutton and a combobox. The user can enter a word in the textbox. When the user clicks the commandbutton, the value of the textbox must be searched in the list of the combobox and when it exists the value shown in the com
Move to next item in ActiveX combobox on excel worksheet -
Hi there,
I have an ActiveX combobox on a worksheet populated from one column of cells on that worksheet. I have i set up if the first item is selected a form will open to allow the user to enter customised values. The other selections are all preset. The other option on the form is
Adding to ComboBox in a Word.doc SOMEONE KNOW -
Hi All
If someone can to say, that something I know about Visual Basic, it nobody can't to say, that something I know about VBA in MSWord.doc. So, this will be as the saint of truth.
Now I need in this a some help. How to make to be able to add some of items to a combobox? In r
Word saving a text file -
I am using VB to save a RTF as a text file. The problem is that I loose the formating. We used to have a unix based word perfect program that could take a formated file and save it as a text file, inserting spaces and tabs were they were needed.
Can Word preserve the layout when savin
Disabling Save/Print in Microsoft Word -
I've done something similar to this in Excel but can't find my code at the mo.
I have a routine (whcih calls Word from an app. and populate a document) which is run under 2 different conditions. 1 condition will allow saving and printing, the other more of just a "View".
User editing combobox.... -
Hail all!
I have a combobox with 5 itens... Its works fine... They are selected very well... but theres is something that I dont know how to prevent... For example... everytime that the user selects an item, a cursor appears and he is able to "delete" the word or select th
How to read part of the data into ComboBox -
Is there a way to read some part of the data from a .txt (text) file into the ComboBox?
After reading it, is there a way to 'refresh' the data in the combobox so that the data wont continue to 'add' below the previous set of data when the command button was clicked again.
Thanks.
Using a Simple Combobox -
I currently have a simple combobox that i need to have work like a access database combobox. how an access combobox works is when a user types in a word the closest match is showen in the upper part of the text box for example list of three words in a combobox
1.)test
2.)tester
Combobox like the old Forms 2.0 combobox -
Hello everyone. I have a combobox that I bind data too. The users here want to be able to type in 2 or 3 characters and have the right vendor name come up in the combobox.
With the default combobox that comes with vb .net 2003, everytime they press a letter on their keyboard, the co
[2005] Confused about some combobox properties -
In working with comboboxes I don't have a clear handle on the differences or interrelations among a few of the properties.
The properties in question are SelectedItem, SelectedText, SelectedValue and Text.
I do understand what the SelectedIndex is and I understand DisplayMember a
Word - Capturing keypress from olecontrol -
I am writing some specific editing macros for word and would like to insert comboboxes to the document, fill them with options for the user to choose, then move on to the next word etc.
Problem being that once the combobox is inserted
Set x = Selection.InlineShapes.AddOLEControl(
DataGridView combobox -
Hello,
I have a datagridview with 2 comboboxes, what i want is when i change the value of the fist combobox, the list of the second combobox should change accordingly (this i know how to be done). My question is when i want to retreive the data rows from the database, how can i ass
Combobox: Save/GetSetting vs saving to file -
I know that "is savesetting better than writing to INI file?" is a common question, and know the answer.
But my question is a little different: I have a combobox that is populated at runtime and I would like the program to store the data that it contains from one time to ano
Update the combobox -
Dear all,
I am trying to update the database after I typed something on the combobox, but after I hit the save button, the data is saved to the database, but when I click on the combobox, the data that I have updated is not appearing on the combobox.
How may I get it to update?
Search Listbox For Word -
Hello, I am a beginner to vb 6 and I wanted to know how you would search a listbox for a word you type in a combobox.
For example:
in combobox "cboSearch" types in the word "test"
when i push enter, "keycode 13" i want it to see if the word "test
[2008] ComboBox SelectedValue Issue -
I have used the ComboBox control many times but most of the time my DataSource has been a table. This time, I am trying to use a List. The problem I am having is that I can not set the SelectedValue at runtime. I can retrieve the SelectedValue, however.
I have a class called "L
Saving charts - Excel VBA -
Hey all,
Is there anyway to save a chart, without saving the sheet the chart is on and saving the accompanying source data (sometimes several different sheets)?
Preferably, just saving the chart as .jpg or something similar? Seems like it may be a long shot, but I figured there m
I just don't want to save NORMAL.DOT! -
Hi all,
When I , or any user on our small network of 25 users, exits out of Word, there is a message at the bottom of the app window saying 'Word is saving Normal.dot'... and a progress bar.
I would like the Normal.dot to remain unchanged, the main reason being that another app
Add data to a combobox -
Just wondering what code you use or what you do to add data to a combobox. I have a database titled 'passlogger.mdb', with one table, 'tblpass'. In this table I want to display all the data under the field "name" and put it into my combobox.
Much thanks for any help.
word doc to RTF -
Hi,
Is it possible to open a M$ Word doc in a RTF box?
I thought of opening the doc in word and saving it as temp.rtf then opening that file in my rtf box, this would be a poor way of doing this. Any other ideas?
pG
reselect case in combobox after loading file -
I have a combobox that does something like this:
Select Case Me.ComboBox1.SelectedIndex
Case 0
num(1) = 100
Case 1
num(1) = 200
End Select
I am saving/opening data using xmlwriter/xmlreader. So when I o
saving word document using VB -
I have a OLE control on the Form which contains a word document as an embedded object.
my code for generating the word file is as follows
ole1 is the name of the OLE Control
rtb is the name of the RichTexBox Control
freefilenum = freefile
OLE1.doverb -2
OLE1.datatext = rtb.RTFt
Saving Numeric Data efficiently -
I have a project which has to store away and retieve information held in a series of string, short integer and single real matrices. The order of saving stays the same but the amount of data changes in each matrix.
Any advice on how to organise writing and retrieving the data effic
printing value in Combobox *resholved* -
So I have a Combobox and a checkbox and a word doc
I have set up the word doc so that the captions of checkboxes write to a buffer and then to the word doc.
What I need is data that has been selected in a combo box to be written to the buffer too.
not worried about the buffer bit