Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Wed, 25 Jan 2006 11:15:08 -0500,    group: microsoft.public.word.word6-7macros        back       


variable text   
how do i create a text in my macro made of combined string variable that can 
be store in notepad

-- 
 http://en.bibleinfo.com/gift/

lessons gratuites de Bible en franais
http://www.discoveronline.org/french

 May God bless you
Que Dieu vous bnisse



Incoming mail is certified Virus Free.

Checked by AVG free edition

anti-virus system (http://www.grisoft.com).



~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Jesus is coming soon         Jsus revient bientt

Please be ready                   S.V.P. soyez prt

see www.Bibleinfo.com         voyez  www.Bibleinfo.com

available in 16 languages   disponible en 16 langues

or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
date: Wed, 25 Jan 2006 11:15:08 -0500   author:   the mailman

Re: variable text   
Notepad is simply a utility for use in creating/editing text files.  If you 
are wanting to store something in a text file, you can use the 
..PrivateProfileString method of the the System object.


-- 
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"the mailman"  wrote in message 
news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
> how do i create a text in my macro made of combined string variable that 
> can be store in notepad
>
> -- 
> http://en.bibleinfo.com/gift/
>
> lessons gratuites de Bible en franais
> http://www.discoveronline.org/french
>
> May God bless you
> Que Dieu vous bnisse
>
>
>
> Incoming mail is certified Virus Free.
>
> Checked by AVG free edition
>
> anti-virus system (http://www.grisoft.com).
>
>
>
> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>
> Jesus is coming soon         Jsus revient bientt
>
> Please be ready                   S.V.P. soyez prt
>
> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>
> available in 16 languages   disponible en 16 langues
>
> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>
>
>
>
date: Wed, 25 Jan 2006 21:34:37 +0100   author:   Doug Robbins - Word MVP

Re: variable text   
yes i know about notepad sorry for my english but what i want to do is 
creating a string made of different variable results in my macro and be able 
to retrieve it in notepad for pasting it in an other document

-- 
 http://en.bibleinfo.com/gift/

lessons gratuites de Bible en franais
http://www.discoveronline.org/french

 May God bless you
Que Dieu vous bnisse



Incoming mail is certified Virus Free.

Checked by AVG free edition

anti-virus system (http://www.grisoft.com).



~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Jesus is coming soon         Jsus revient bientt

Please be ready                   S.V.P. soyez prt

see www.Bibleinfo.com         voyez  www.Bibleinfo.com

available in 16 languages   disponible en 16 langues

or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com



"Doug Robbins - Word MVP"  wrote in message 
news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
> Notepad is simply a utility for use in creating/editing text files.  If 
> you are wanting to store something in a text file, you can use the 
> .PrivateProfileString method of the the System object.
>
>
> -- 
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "the mailman"  wrote in message 
> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>> how do i create a text in my macro made of combined string variable that 
>> can be store in notepad
>>
>> -- 
>> http://en.bibleinfo.com/gift/
>>
>> lessons gratuites de Bible en franais
>> http://www.discoveronline.org/french
>>
>> May God bless you
>> Que Dieu vous bnisse
>>
>>
>>
>> Incoming mail is certified Virus Free.
>>
>> Checked by AVG free edition
>>
>> anti-virus system (http://www.grisoft.com).
>>
>>
>>
>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>
>> Jesus is coming soon         Jsus revient bientt
>>
>> Please be ready                   S.V.P. soyez prt
>>
>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>
>> available in 16 languages   disponible en 16 langues
>>
>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>
>>
>>
>>
>
>
date: Wed, 25 Jan 2006 16:58:18 -0500   author:   the mailman

Re: variable text   
Use the PrivateProfileString method of the System object.


-- 
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"the mailman"  wrote in message 
news:ugEW5pfIGHA.1032@TK2MSFTNGP11.phx.gbl...
> yes i know about notepad sorry for my english but what i want to do is 
> creating a string made of different variable results in my macro and be 
> able to retrieve it in notepad for pasting it in an other document
>
> -- 
> http://en.bibleinfo.com/gift/
>
> lessons gratuites de Bible en franais
> http://www.discoveronline.org/french
>
> May God bless you
> Que Dieu vous bnisse
>
>
>
> Incoming mail is certified Virus Free.
>
> Checked by AVG free edition
>
> anti-virus system (http://www.grisoft.com).
>
>
>
> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>
> Jesus is coming soon         Jsus revient bientt
>
> Please be ready                   S.V.P. soyez prt
>
> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>
> available in 16 languages   disponible en 16 langues
>
> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>
>
>
> "Doug Robbins - Word MVP"  wrote in message 
> news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
>> Notepad is simply a utility for use in creating/editing text files.  If 
>> you are wanting to store something in a text file, you can use the 
>> .PrivateProfileString method of the the System object.
>>
>>
>> -- 
>> Hope this helps.
>>
>> Please reply to the newsgroup unless you wish to avail yourself of my
>> services on a paid consulting basis.
>>
>> Doug Robbins - Word MVP
>>
>> "the mailman"  wrote in message 
>> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>>> how do i create a text in my macro made of combined string variable that 
>>> can be store in notepad
>>>
>>> -- 
>>> http://en.bibleinfo.com/gift/
>>>
>>> lessons gratuites de Bible en franais
>>> http://www.discoveronline.org/french
>>>
>>> May God bless you
>>> Que Dieu vous bnisse
>>>
>>>
>>>
>>> Incoming mail is certified Virus Free.
>>>
>>> Checked by AVG free edition
>>>
>>> anti-virus system (http://www.grisoft.com).
>>>
>>>
>>>
>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>
>>> Jesus is coming soon         Jsus revient bientt
>>>
>>> Please be ready                   S.V.P. soyez prt
>>>
>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>
>>> available in 16 languages   disponible en 16 langues
>>>
>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>
>>>
>>>
>>>
>>
>>
>
>
date: Thu, 26 Jan 2006 06:24:46 +0100   author:   Doug Robbins - Word MVP

Re: variable text   
here is my macro

Sub titlelesson()
Selection.HomeKey Unit:=wdStory
Dim lesnumb As Integer
lesmumb = InputBox("lesson #")
Dim lesscr As Integer
lesscr = InputBox("lesson screen #")
Dim title As String
title = "IIWTF"

Dim texttoadd As String
texttoadd = (title & "." & lesnumb & "." & lesscr)


how can I include that last variable in my clipboard to paste it anywhere I 
want. Also I would like for the variable title to be able to choose between 
three more title but how . I have search real hard to help myself but could 
not succeed yet with the help files. Thanks for your help.

-- 
 http://en.bibleinfo.com/gift/

lessons gratuites de Bible en franais
http://www.discoveronline.org/french

 May God bless you
Que Dieu vous bnisse



Incoming mail is certified Virus Free.

Checked by AVG free edition

anti-virus system (http://www.grisoft.com).



~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Jesus is coming soon         Jsus revient bientt

Please be ready                   S.V.P. soyez prt

see www.Bibleinfo.com         voyez  www.Bibleinfo.com

available in 16 languages   disponible en 16 langues

or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com



"Doug Robbins - Word MVP"  wrote in message
news:%23flgWjjIGHA.604@TK2MSFTNGP14.phx.gbl...
> Use the PrivateProfileString method of the System object.
>
>
> -- 
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "the mailman"  wrote in message
> news:ugEW5pfIGHA.1032@TK2MSFTNGP11.phx.gbl...
>> yes i know about notepad sorry for my english but what i want to do is
>> creating a string made of different variable results in my macro and be
>> able to retrieve it in notepad for pasting it in an other document
>>
>> -- 
>> http://en.bibleinfo.com/gift/
>>
>> lessons gratuites de Bible en franais
>> http://www.discoveronline.org/french
>>
>> May God bless you
>> Que Dieu vous bnisse
>>
>>
>>
>> Incoming mail is certified Virus Free.
>>
>> Checked by AVG free edition
>>
>> anti-virus system (http://www.grisoft.com).
>>
>>
>>
>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>
>> Jesus is coming soon         Jsus revient bientt
>>
>> Please be ready                   S.V.P. soyez prt
>>
>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>
>> available in 16 languages   disponible en 16 langues
>>
>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>
>>
>>
>> "Doug Robbins - Word MVP"  wrote in message
>> news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
>>> Notepad is simply a utility for use in creating/editing text files.  If
>>> you are wanting to store something in a text file, you can use the
>>> .PrivateProfileString method of the the System object.
>>>
>>>
>>> -- 
>>> Hope this helps.
>>>
>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>> services on a paid consulting basis.
>>>
>>> Doug Robbins - Word MVP
>>>
>>> "the mailman"  wrote in message
>>> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>>>> how do i create a text in my macro made of combined string variable
>>>> that can be store in notepad
>>>>
>>>> -- 
>>>> http://en.bibleinfo.com/gift/
>>>>
>>>> lessons gratuites de Bible en franais
>>>> http://www.discoveronline.org/french
>>>>
>>>> May God bless you
>>>> Que Dieu vous bnisse
>>>>
>>>>
>>>>
>>>> Incoming mail is certified Virus Free.
>>>>
>>>> Checked by AVG free edition
>>>>
>>>> anti-virus system (http://www.grisoft.com).
>>>>
>>>>
>>>>
>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>
>>>> Jesus is coming soon         Jsus revient bientt
>>>>
>>>> Please be ready                   S.V.P. soyez prt
>>>>
>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>
>>>> available in 16 languages   disponible en 16 langues
>>>>
>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Sun, 29 Jan 2006 20:22:57 -0500   author:   the mailman

Re: variable text   
See the article "Manipulating the clipboard using VBA" at:

http://www.word.mvps.org/FAQs/MacrosVBA/ManipulateClipboard.htm


-- 
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"the mailman"  wrote in message 
news:%23Dy41uTJGHA.3492@TK2MSFTNGP09.phx.gbl...
> here is my macro
>
> Sub titlelesson()
> Selection.HomeKey Unit:=wdStory
> Dim lesnumb As Integer
> lesmumb = InputBox("lesson #")
> Dim lesscr As Integer
> lesscr = InputBox("lesson screen #")
> Dim title As String
> title = "IIWTF"
>
> Dim texttoadd As String
> texttoadd = (title & "." & lesnumb & "." & lesscr)
>
>
> how can I include that last variable in my clipboard to paste it anywhere 
> I want. Also I would like for the variable title to be able to choose 
> between three more title but how . I have search real hard to help myself 
> but could not succeed yet with the help files. Thanks for your help.
>
> -- 
> http://en.bibleinfo.com/gift/
>
> lessons gratuites de Bible en franais
> http://www.discoveronline.org/french
>
> May God bless you
> Que Dieu vous bnisse
>
>
>
> Incoming mail is certified Virus Free.
>
> Checked by AVG free edition
>
> anti-virus system (http://www.grisoft.com).
>
>
>
> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>
> Jesus is coming soon         Jsus revient bientt
>
> Please be ready                   S.V.P. soyez prt
>
> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>
> available in 16 languages   disponible en 16 langues
>
> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>
>
>
> "Doug Robbins - Word MVP"  wrote in message
> news:%23flgWjjIGHA.604@TK2MSFTNGP14.phx.gbl...
>> Use the PrivateProfileString method of the System object.
>>
>>
>> -- 
>> Hope this helps.
>>
>> Please reply to the newsgroup unless you wish to avail yourself of my
>> services on a paid consulting basis.
>>
>> Doug Robbins - Word MVP
>>
>> "the mailman"  wrote in message
>> news:ugEW5pfIGHA.1032@TK2MSFTNGP11.phx.gbl...
>>> yes i know about notepad sorry for my english but what i want to do is
>>> creating a string made of different variable results in my macro and be
>>> able to retrieve it in notepad for pasting it in an other document
>>>
>>> -- 
>>> http://en.bibleinfo.com/gift/
>>>
>>> lessons gratuites de Bible en franais
>>> http://www.discoveronline.org/french
>>>
>>> May God bless you
>>> Que Dieu vous bnisse
>>>
>>>
>>>
>>> Incoming mail is certified Virus Free.
>>>
>>> Checked by AVG free edition
>>>
>>> anti-virus system (http://www.grisoft.com).
>>>
>>>
>>>
>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>
>>> Jesus is coming soon         Jsus revient bientt
>>>
>>> Please be ready                   S.V.P. soyez prt
>>>
>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>
>>> available in 16 languages   disponible en 16 langues
>>>
>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>
>>>
>>>
>>> "Doug Robbins - Word MVP"  wrote in message
>>> news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
>>>> Notepad is simply a utility for use in creating/editing text files.  If
>>>> you are wanting to store something in a text file, you can use the
>>>> .PrivateProfileString method of the the System object.
>>>>
>>>>
>>>> -- 
>>>> Hope this helps.
>>>>
>>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>>> services on a paid consulting basis.
>>>>
>>>> Doug Robbins - Word MVP
>>>>
>>>> "the mailman"  wrote in message
>>>> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>>>>> how do i create a text in my macro made of combined string variable
>>>>> that can be store in notepad
>>>>>
>>>>> -- 
>>>>> http://en.bibleinfo.com/gift/
>>>>>
>>>>> lessons gratuites de Bible en franais
>>>>> http://www.discoveronline.org/french
>>>>>
>>>>> May God bless you
>>>>> Que Dieu vous bnisse
>>>>>
>>>>>
>>>>>
>>>>> Incoming mail is certified Virus Free.
>>>>>
>>>>> Checked by AVG free edition
>>>>>
>>>>> anti-virus system (http://www.grisoft.com).
>>>>>
>>>>>
>>>>>
>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>
>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>
>>>>> Please be ready                   S.V.P. soyez prt
>>>>>
>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>
>>>>> available in 16 languages   disponible en 16 langues
>>>>>
>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
>
date: Mon, 30 Jan 2006 05:58:24 +0100   author:   Doug Robbins - Word MVP

Re: variable text   
I have vb 6.3
it does not work it stops as highlite
Sub titlelesson()



Selection.HomeKey Unit:=wdStory

Dim lesnumb As Integer

lesmumb = InputBox("lesson #")

Dim lesscr As Integer

lesscr = InputBox("lesson screen #")

Dim title As String

title = "IIWTF"

Dim MyData As DataObject

Dim strClip As String

strClip = (title & "." & lesnumb & "." & lesscr)



Set MyData = New DataObject



MyData.SetText strClip

MyData.PutInClipboard

-- 
 http://en.bibleinfo.com/gift/

lessons gratuites de Bible en franais
http://www.discoveronline.org/french

 May God bless you
Que Dieu vous bnisse



Incoming mail is certified Virus Free.

Checked by AVG free edition

anti-virus system (http://www.grisoft.com).



~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Jesus is coming soon         Jsus revient bientt

Please be ready                   S.V.P. soyez prt

see www.Bibleinfo.com         voyez  www.Bibleinfo.com

available in 16 languages   disponible en 16 langues

or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com



"Doug Robbins - Word MVP"  wrote in message 
news:urHIPnVJGHA.2040@TK2MSFTNGP14.phx.gbl...
> See the article "Manipulating the clipboard using VBA" at:
>
> http://www.word.mvps.org/FAQs/MacrosVBA/ManipulateClipboard.htm
>
>
> -- 
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "the mailman"  wrote in message 
> news:%23Dy41uTJGHA.3492@TK2MSFTNGP09.phx.gbl...
>> here is my macro
>>
>> Sub titlelesson()
>> Selection.HomeKey Unit:=wdStory
>> Dim lesnumb As Integer
>> lesmumb = InputBox("lesson #")
>> Dim lesscr As Integer
>> lesscr = InputBox("lesson screen #")
>> Dim title As String
>> title = "IIWTF"
>>
>> Dim texttoadd As String
>> texttoadd = (title & "." & lesnumb & "." & lesscr)
>>
>>
>> how can I include that last variable in my clipboard to paste it anywhere 
>> I want. Also I would like for the variable title to be able to choose 
>> between three more title but how . I have search real hard to help myself 
>> but could not succeed yet with the help files. Thanks for your help.
>>
>> -- 
>> http://en.bibleinfo.com/gift/
>>
>> lessons gratuites de Bible en franais
>> http://www.discoveronline.org/french
>>
>> May God bless you
>> Que Dieu vous bnisse
>>
>>
>>
>> Incoming mail is certified Virus Free.
>>
>> Checked by AVG free edition
>>
>> anti-virus system (http://www.grisoft.com).
>>
>>
>>
>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>
>> Jesus is coming soon         Jsus revient bientt
>>
>> Please be ready                   S.V.P. soyez prt
>>
>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>
>> available in 16 languages   disponible en 16 langues
>>
>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>
>>
>>
>> "Doug Robbins - Word MVP"  wrote in message
>> news:%23flgWjjIGHA.604@TK2MSFTNGP14.phx.gbl...
>>> Use the PrivateProfileString method of the System object.
>>>
>>>
>>> -- 
>>> Hope this helps.
>>>
>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>> services on a paid consulting basis.
>>>
>>> Doug Robbins - Word MVP
>>>
>>> "the mailman"  wrote in message
>>> news:ugEW5pfIGHA.1032@TK2MSFTNGP11.phx.gbl...
>>>> yes i know about notepad sorry for my english but what i want to do is
>>>> creating a string made of different variable results in my macro and be
>>>> able to retrieve it in notepad for pasting it in an other document
>>>>
>>>> -- 
>>>> http://en.bibleinfo.com/gift/
>>>>
>>>> lessons gratuites de Bible en franais
>>>> http://www.discoveronline.org/french
>>>>
>>>> May God bless you
>>>> Que Dieu vous bnisse
>>>>
>>>>
>>>>
>>>> Incoming mail is certified Virus Free.
>>>>
>>>> Checked by AVG free edition
>>>>
>>>> anti-virus system (http://www.grisoft.com).
>>>>
>>>>
>>>>
>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>
>>>> Jesus is coming soon         Jsus revient bientt
>>>>
>>>> Please be ready                   S.V.P. soyez prt
>>>>
>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>
>>>> available in 16 languages   disponible en 16 langues
>>>>
>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>
>>>>
>>>>
>>>> "Doug Robbins - Word MVP"  wrote in message
>>>> news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
>>>>> Notepad is simply a utility for use in creating/editing text files. 
>>>>> If
>>>>> you are wanting to store something in a text file, you can use the
>>>>> .PrivateProfileString method of the the System object.
>>>>>
>>>>>
>>>>> -- 
>>>>> Hope this helps.
>>>>>
>>>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>>>> services on a paid consulting basis.
>>>>>
>>>>> Doug Robbins - Word MVP
>>>>>
>>>>> "the mailman"  wrote in message
>>>>> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>>>>>> how do i create a text in my macro made of combined string variable
>>>>>> that can be store in notepad
>>>>>>
>>>>>> -- 
>>>>>> http://en.bibleinfo.com/gift/
>>>>>>
>>>>>> lessons gratuites de Bible en franais
>>>>>> http://www.discoveronline.org/french
>>>>>>
>>>>>> May God bless you
>>>>>> Que Dieu vous bnisse
>>>>>>
>>>>>>
>>>>>>
>>>>>> Incoming mail is certified Virus Free.
>>>>>>
>>>>>> Checked by AVG free edition
>>>>>>
>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>
>>>>>>
>>>>>>
>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>
>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>
>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>
>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>
>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>
>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
date: Mon, 30 Jan 2006 07:44:21 -0500   author:   the mailman

Re: variable text   
Did you set the reference to the "Microsoft Forms 2.0 Object Library" as 
mentioned at the bottom of the article?

-- 
Hope this helps.


Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"the mailman"  wrote in message 
news:ei3OGsZJGHA.2668@tk2msftngp13.phx.gbl...
>I have vb 6.3
> it does not work it stops as highlite
> Sub titlelesson()
>
>
>
> Selection.HomeKey Unit:=wdStory
>
> Dim lesnumb As Integer
>
> lesmumb = InputBox("lesson #")
>
> Dim lesscr As Integer
>
> lesscr = InputBox("lesson screen #")
>
> Dim title As String
>
> title = "IIWTF"
>
> Dim MyData As DataObject
>
> Dim strClip As String
>
> strClip = (title & "." & lesnumb & "." & lesscr)
>
>
>
> Set MyData = New DataObject
>
>
>
> MyData.SetText strClip
>
> MyData.PutInClipboard
>
> -- 
> http://en.bibleinfo.com/gift/
>
> lessons gratuites de Bible en franais
> http://www.discoveronline.org/french
>
> May God bless you
> Que Dieu vous bnisse
>
>
>
> Incoming mail is certified Virus Free.
>
> Checked by AVG free edition
>
> anti-virus system (http://www.grisoft.com).
>
>
>
> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>
> Jesus is coming soon         Jsus revient bientt
>
> Please be ready                   S.V.P. soyez prt
>
> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>
> available in 16 languages   disponible en 16 langues
>
> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>
>
>
> "Doug Robbins - Word MVP"  wrote in message 
> news:urHIPnVJGHA.2040@TK2MSFTNGP14.phx.gbl...
>> See the article "Manipulating the clipboard using VBA" at:
>>
>> http://www.word.mvps.org/FAQs/MacrosVBA/ManipulateClipboard.htm
>>
>>
>> -- 
>> Hope this helps.
>>
>> Please reply to the newsgroup unless you wish to avail yourself of my
>> services on a paid consulting basis.
>>
>> Doug Robbins - Word MVP
>>
>> "the mailman"  wrote in message 
>> news:%23Dy41uTJGHA.3492@TK2MSFTNGP09.phx.gbl...
>>> here is my macro
>>>
>>> Sub titlelesson()
>>> Selection.HomeKey Unit:=wdStory
>>> Dim lesnumb As Integer
>>> lesmumb = InputBox("lesson #")
>>> Dim lesscr As Integer
>>> lesscr = InputBox("lesson screen #")
>>> Dim title As String
>>> title = "IIWTF"
>>>
>>> Dim texttoadd As String
>>> texttoadd = (title & "." & lesnumb & "." & lesscr)
>>>
>>>
>>> how can I include that last variable in my clipboard to paste it 
>>> anywhere I want. Also I would like for the variable title to be able to 
>>> choose between three more title but how . I have search real hard to 
>>> help myself but could not succeed yet with the help files. Thanks for 
>>> your help.
>>>
>>> -- 
>>> http://en.bibleinfo.com/gift/
>>>
>>> lessons gratuites de Bible en franais
>>> http://www.discoveronline.org/french
>>>
>>> May God bless you
>>> Que Dieu vous bnisse
>>>
>>>
>>>
>>> Incoming mail is certified Virus Free.
>>>
>>> Checked by AVG free edition
>>>
>>> anti-virus system (http://www.grisoft.com).
>>>
>>>
>>>
>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>
>>> Jesus is coming soon         Jsus revient bientt
>>>
>>> Please be ready                   S.V.P. soyez prt
>>>
>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>
>>> available in 16 languages   disponible en 16 langues
>>>
>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>
>>>
>>>
>>> "Doug Robbins - Word MVP"  wrote in message
>>> news:%23flgWjjIGHA.604@TK2MSFTNGP14.phx.gbl...
>>>> Use the PrivateProfileString method of the System object.
>>>>
>>>>
>>>> -- 
>>>> Hope this helps.
>>>>
>>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>>> services on a paid consulting basis.
>>>>
>>>> Doug Robbins - Word MVP
>>>>
>>>> "the mailman"  wrote in message
>>>> news:ugEW5pfIGHA.1032@TK2MSFTNGP11.phx.gbl...
>>>>> yes i know about notepad sorry for my english but what i want to do is
>>>>> creating a string made of different variable results in my macro and 
>>>>> be
>>>>> able to retrieve it in notepad for pasting it in an other document
>>>>>
>>>>> -- 
>>>>> http://en.bibleinfo.com/gift/
>>>>>
>>>>> lessons gratuites de Bible en franais
>>>>> http://www.discoveronline.org/french
>>>>>
>>>>> May God bless you
>>>>> Que Dieu vous bnisse
>>>>>
>>>>>
>>>>>
>>>>> Incoming mail is certified Virus Free.
>>>>>
>>>>> Checked by AVG free edition
>>>>>
>>>>> anti-virus system (http://www.grisoft.com).
>>>>>
>>>>>
>>>>>
>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>
>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>
>>>>> Please be ready                   S.V.P. soyez prt
>>>>>
>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>
>>>>> available in 16 languages   disponible en 16 langues
>>>>>
>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>
>>>>>
>>>>>
>>>>> "Doug Robbins - Word MVP"  wrote in message
>>>>> news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
>>>>>> Notepad is simply a utility for use in creating/editing text files. 
>>>>>> If
>>>>>> you are wanting to store something in a text file, you can use the
>>>>>> .PrivateProfileString method of the the System object.
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Hope this helps.
>>>>>>
>>>>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>>>>> services on a paid consulting basis.
>>>>>>
>>>>>> Doug Robbins - Word MVP
>>>>>>
>>>>>> "the mailman"  wrote in message
>>>>>> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>>>>>>> how do i create a text in my macro made of combined string variable
>>>>>>> that can be store in notepad
>>>>>>>
>>>>>>> -- 
>>>>>>> http://en.bibleinfo.com/gift/
>>>>>>>
>>>>>>> lessons gratuites de Bible en franais
>>>>>>> http://www.discoveronline.org/french
>>>>>>>
>>>>>>> May God bless you
>>>>>>> Que Dieu vous bnisse
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Incoming mail is certified Virus Free.
>>>>>>>
>>>>>>> Checked by AVG free edition
>>>>>>>
>>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>>
>>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>>
>>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>>
>>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>>
>>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>>
>>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
date: Mon, 30 Jan 2006 19:40:08 +0100   author:   Doug Robbins - Word MVP

Re: variable text   
yes thanks it works now but my second  variable "lesnumb" always gives me  0 
as value and my second question about the choice between 4 differents 
prefixed value as for the "title" variable was not answered. Thanks so much.

-- 
 http://en.bibleinfo.com/gift/

lessons gratuites de Bible en franais
http://www.discoveronline.org/french

 May God bless you
Que Dieu vous bnisse



Incoming mail is certified Virus Free.

Checked by AVG free edition

anti-virus system (http://www.grisoft.com).



~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Jesus is coming soon         Jsus revient bientt

Please be ready                   S.V.P. soyez prt

see www.Bibleinfo.com         voyez  www.Bibleinfo.com

available in 16 languages   disponible en 16 langues

or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com



"Doug Robbins - Word MVP"  wrote in message 
news:e4nYbycJGHA.3732@TK2MSFTNGP10.phx.gbl...
> Did you set the reference to the "Microsoft Forms 2.0 Object Library" as 
> mentioned at the bottom of the article?
>
> -- 
> Hope this helps.
>
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "the mailman"  wrote in message 
> news:ei3OGsZJGHA.2668@tk2msftngp13.phx.gbl...
>>I have vb 6.3
>> it does not work it stops as highlite
>> Sub titlelesson()
>>
>>
>>
>> Selection.HomeKey Unit:=wdStory
>>
>> Dim lesnumb As Integer
>>
>> lesmumb = InputBox("lesson #")
>>
>> Dim lesscr As Integer
>>
>> lesscr = InputBox("lesson screen #")
>>
>> Dim title As String
>>
>> title = "IIWTF"
>>
>> Dim MyData As DataObject
>>
>> Dim strClip As String
>>
>> strClip = (title & "." & lesnumb & "." & lesscr)
>>
>>
>>
>> Set MyData = New DataObject
>>
>>
>>
>> MyData.SetText strClip
>>
>> MyData.PutInClipboard
>>
>> -- 
>> http://en.bibleinfo.com/gift/
>>
>> lessons gratuites de Bible en franais
>> http://www.discoveronline.org/french
>>
>> May God bless you
>> Que Dieu vous bnisse
>>
>>
>>
>> Incoming mail is certified Virus Free.
>>
>> Checked by AVG free edition
>>
>> anti-virus system (http://www.grisoft.com).
>>
>>
>>
>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>
>> Jesus is coming soon         Jsus revient bientt
>>
>> Please be ready                   S.V.P. soyez prt
>>
>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>
>> available in 16 languages   disponible en 16 langues
>>
>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>
>>
>>
>> "Doug Robbins - Word MVP"  wrote in message 
>> news:urHIPnVJGHA.2040@TK2MSFTNGP14.phx.gbl...
>>> See the article "Manipulating the clipboard using VBA" at:
>>>
>>> http://www.word.mvps.org/FAQs/MacrosVBA/ManipulateClipboard.htm
>>>
>>>
>>> -- 
>>> Hope this helps.
>>>
>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>> services on a paid consulting basis.
>>>
>>> Doug Robbins - Word MVP
>>>
>>> "the mailman"  wrote in message 
>>> news:%23Dy41uTJGHA.3492@TK2MSFTNGP09.phx.gbl...
>>>> here is my macro
>>>>
>>>> Sub titlelesson()
>>>> Selection.HomeKey Unit:=wdStory
>>>> Dim lesnumb As Integer
>>>> lesmumb = InputBox("lesson #")
>>>> Dim lesscr As Integer
>>>> lesscr = InputBox("lesson screen #")
>>>> Dim title As String
>>>> title = "IIWTF"
>>>>
>>>> Dim texttoadd As String
>>>> texttoadd = (title & "." & lesnumb & "." & lesscr)
>>>>
>>>>
>>>> how can I include that last variable in my clipboard to paste it 
>>>> anywhere I want. Also I would like for the variable title to be able to 
>>>> choose between three more title but how . I have search real hard to 
>>>> help myself but could not succeed yet with the help files. Thanks for 
>>>> your help.
>>>>
>>>> -- 
>>>> http://en.bibleinfo.com/gift/
>>>>
>>>> lessons gratuites de Bible en franais
>>>> http://www.discoveronline.org/french
>>>>
>>>> May God bless you
>>>> Que Dieu vous bnisse
>>>>
>>>>
>>>>
>>>> Incoming mail is certified Virus Free.
>>>>
>>>> Checked by AVG free edition
>>>>
>>>> anti-virus system (http://www.grisoft.com).
>>>>
>>>>
>>>>
>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>
>>>> Jesus is coming soon         Jsus revient bientt
>>>>
>>>> Please be ready                   S.V.P. soyez prt
>>>>
>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>
>>>> available in 16 languages   disponible en 16 langues
>>>>
>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>
>>>>
>>>>
>>>> "Doug Robbins - Word MVP"  wrote in message
>>>> news:%23flgWjjIGHA.604@TK2MSFTNGP14.phx.gbl...
>>>>> Use the PrivateProfileString method of the System object.
>>>>>
>>>>>
>>>>> -- 
>>>>> Hope this helps.
>>>>>
>>>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>>>> services on a paid consulting basis.
>>>>>
>>>>> Doug Robbins - Word MVP
>>>>>
>>>>> "the mailman"  wrote in message
>>>>> news:ugEW5pfIGHA.1032@TK2MSFTNGP11.phx.gbl...
>>>>>> yes i know about notepad sorry for my english but what i want to do 
>>>>>> is
>>>>>> creating a string made of different variable results in my macro and 
>>>>>> be
>>>>>> able to retrieve it in notepad for pasting it in an other document
>>>>>>
>>>>>> -- 
>>>>>> http://en.bibleinfo.com/gift/
>>>>>>
>>>>>> lessons gratuites de Bible en franais
>>>>>> http://www.discoveronline.org/french
>>>>>>
>>>>>> May God bless you
>>>>>> Que Dieu vous bnisse
>>>>>>
>>>>>>
>>>>>>
>>>>>> Incoming mail is certified Virus Free.
>>>>>>
>>>>>> Checked by AVG free edition
>>>>>>
>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>
>>>>>>
>>>>>>
>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>
>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>
>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>
>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>
>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>
>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Doug Robbins - Word MVP"  wrote in message
>>>>>> news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
>>>>>>> Notepad is simply a utility for use in creating/editing text files. 
>>>>>>> If
>>>>>>> you are wanting to store something in a text file, you can use the
>>>>>>> .PrivateProfileString method of the the System object.
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> Hope this helps.
>>>>>>>
>>>>>>> Please reply to the newsgroup unless you wish to avail yourself of 
>>>>>>> my
>>>>>>> services on a paid consulting basis.
>>>>>>>
>>>>>>> Doug Robbins - Word MVP
>>>>>>>
>>>>>>> "the mailman"  wrote in message
>>>>>>> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>>>>>>>> how do i create a text in my macro made of combined string variable
>>>>>>>> that can be store in notepad
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> http://en.bibleinfo.com/gift/
>>>>>>>>
>>>>>>>> lessons gratuites de Bible en franais
>>>>>>>> http://www.discoveronline.org/french
>>>>>>>>
>>>>>>>> May God bless you
>>>>>>>> Que Dieu vous bnisse
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Incoming mail is certified Virus Free.
>>>>>>>>
>>>>>>>> Checked by AVG free edition
>>>>>>>>
>>>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>>>
>>>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>>>
>>>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>>>
>>>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>>>
>>>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>>>
>>>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Mon, 30 Jan 2006 17:36:58 -0500   author:   the mailman

Re: variable text   
At one point in your code you have "lesmumb" and at another you have 
"lesnumb".

To get a choice for the title, you could use a combobox on a userform with 
controls for each of the other variables that you are entering

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm


-- 
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"the mailman"  wrote in message 
news:eGCj02eJGHA.1728@TK2MSFTNGP14.phx.gbl...
> yes thanks it works now but my second  variable "lesnumb" always gives me 
> 0 as value and my second question about the choice between 4 differents 
> prefixed value as for the "title" variable was not answered. Thanks so 
> much.
>
> -- 
> http://en.bibleinfo.com/gift/
>
> lessons gratuites de Bible en franais
> http://www.discoveronline.org/french
>
> May God bless you
> Que Dieu vous bnisse
>
>
>
> Incoming mail is certified Virus Free.
>
> Checked by AVG free edition
>
> anti-virus system (http://www.grisoft.com).
>
>
>
> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>
> Jesus is coming soon         Jsus revient bientt
>
> Please be ready                   S.V.P. soyez prt
>
> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>
> available in 16 languages   disponible en 16 langues
>
> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>
>
>
> "Doug Robbins - Word MVP"  wrote in message 
> news:e4nYbycJGHA.3732@TK2MSFTNGP10.phx.gbl...
>> Did you set the reference to the "Microsoft Forms 2.0 Object Library" as 
>> mentioned at the bottom of the article?
>>
>> -- 
>> Hope this helps.
>>
>>
>> Please reply to the newsgroup unless you wish to avail yourself of my
>> services on a paid consulting basis.
>>
>> Doug Robbins - Word MVP
>>
>> "the mailman"  wrote in message 
>> news:ei3OGsZJGHA.2668@tk2msftngp13.phx.gbl...
>>>I have vb 6.3
>>> it does not work it stops as highlite
>>> Sub titlelesson()
>>>
>>>
>>>
>>> Selection.HomeKey Unit:=wdStory
>>>
>>> Dim lesnumb As Integer
>>>
>>> lesmumb = InputBox("lesson #")
>>>
>>> Dim lesscr As Integer
>>>
>>> lesscr = InputBox("lesson screen #")
>>>
>>> Dim title As String
>>>
>>> title = "IIWTF"
>>>
>>> Dim MyData As DataObject
>>>
>>> Dim strClip As String
>>>
>>> strClip = (title & "." & lesnumb & "." & lesscr)
>>>
>>>
>>>
>>> Set MyData = New DataObject
>>>
>>>
>>>
>>> MyData.SetText strClip
>>>
>>> MyData.PutInClipboard
>>>
>>> -- 
>>> http://en.bibleinfo.com/gift/
>>>
>>> lessons gratuites de Bible en franais
>>> http://www.discoveronline.org/french
>>>
>>> May God bless you
>>> Que Dieu vous bnisse
>>>
>>>
>>>
>>> Incoming mail is certified Virus Free.
>>>
>>> Checked by AVG free edition
>>>
>>> anti-virus system (http://www.grisoft.com).
>>>
>>>
>>>
>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>
>>> Jesus is coming soon         Jsus revient bientt
>>>
>>> Please be ready                   S.V.P. soyez prt
>>>
>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>
>>> available in 16 languages   disponible en 16 langues
>>>
>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>
>>>
>>>
>>> "Doug Robbins - Word MVP"  wrote in message 
>>> news:urHIPnVJGHA.2040@TK2MSFTNGP14.phx.gbl...
>>>> See the article "Manipulating the clipboard using VBA" at:
>>>>
>>>> http://www.word.mvps.org/FAQs/MacrosVBA/ManipulateClipboard.htm
>>>>
>>>>
>>>> -- 
>>>> Hope this helps.
>>>>
>>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>>> services on a paid consulting basis.
>>>>
>>>> Doug Robbins - Word MVP
>>>>
>>>> "the mailman"  wrote in message 
>>>> news:%23Dy41uTJGHA.3492@TK2MSFTNGP09.phx.gbl...
>>>>> here is my macro
>>>>>
>>>>> Sub titlelesson()
>>>>> Selection.HomeKey Unit:=wdStory
>>>>> Dim lesnumb As Integer
>>>>> lesmumb = InputBox("lesson #")
>>>>> Dim lesscr As Integer
>>>>> lesscr = InputBox("lesson screen #")
>>>>> Dim title As String
>>>>> title = "IIWTF"
>>>>>
>>>>> Dim texttoadd As String
>>>>> texttoadd = (title & "." & lesnumb & "." & lesscr)
>>>>>
>>>>>
>>>>> how can I include that last variable in my clipboard to paste it 
>>>>> anywhere I want. Also I would like for the variable title to be able 
>>>>> to choose between three more title but how . I have search real hard 
>>>>> to help myself but could not succeed yet with the help files. Thanks 
>>>>> for your help.
>>>>>
>>>>> -- 
>>>>> http://en.bibleinfo.com/gift/
>>>>>
>>>>> lessons gratuites de Bible en franais
>>>>> http://www.discoveronline.org/french
>>>>>
>>>>> May God bless you
>>>>> Que Dieu vous bnisse
>>>>>
>>>>>
>>>>>
>>>>> Incoming mail is certified Virus Free.
>>>>>
>>>>> Checked by AVG free edition
>>>>>
>>>>> anti-virus system (http://www.grisoft.com).
>>>>>
>>>>>
>>>>>
>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>
>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>
>>>>> Please be ready                   S.V.P. soyez prt
>>>>>
>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>
>>>>> available in 16 languages   disponible en 16 langues
>>>>>
>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>
>>>>>
>>>>>
>>>>> "Doug Robbins - Word MVP"  wrote in message
>>>>> news:%23flgWjjIGHA.604@TK2MSFTNGP14.phx.gbl...
>>>>>> Use the PrivateProfileString method of the System object.
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Hope this helps.
>>>>>>
>>>>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>>>>> services on a paid consulting basis.
>>>>>>
>>>>>> Doug Robbins - Word MVP
>>>>>>
>>>>>> "the mailman"  wrote in message
>>>>>> news:ugEW5pfIGHA.1032@TK2MSFTNGP11.phx.gbl...
>>>>>>> yes i know about notepad sorry for my english but what i want to do 
>>>>>>> is
>>>>>>> creating a string made of different variable results in my macro and 
>>>>>>> be
>>>>>>> able to retrieve it in notepad for pasting it in an other document
>>>>>>>
>>>>>>> -- 
>>>>>>> http://en.bibleinfo.com/gift/
>>>>>>>
>>>>>>> lessons gratuites de Bible en franais
>>>>>>> http://www.discoveronline.org/french
>>>>>>>
>>>>>>> May God bless you
>>>>>>> Que Dieu vous bnisse
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Incoming mail is certified Virus Free.
>>>>>>>
>>>>>>> Checked by AVG free edition
>>>>>>>
>>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>>
>>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>>
>>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>>
>>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>>
>>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>>
>>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> "Doug Robbins - Word MVP"  wrote in message
>>>>>>> news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
>>>>>>>> Notepad is simply a utility for use in creating/editing text files. 
>>>>>>>> If
>>>>>>>> you are wanting to store something in a text file, you can use the
>>>>>>>> .PrivateProfileString method of the the System object.
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Hope this helps.
>>>>>>>>
>>>>>>>> Please reply to the newsgroup unless you wish to avail yourself of 
>>>>>>>> my
>>>>>>>> services on a paid consulting basis.
>>>>>>>>
>>>>>>>> Doug Robbins - Word MVP
>>>>>>>>
>>>>>>>> "the mailman"  wrote in message
>>>>>>>> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>>>>>>>>> how do i create a text in my macro made of combined string 
>>>>>>>>> variable
>>>>>>>>> that can be store in notepad
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> http://en.bibleinfo.com/gift/
>>>>>>>>>
>>>>>>>>> lessons gratuites de Bible en franais
>>>>>>>>> http://www.discoveronline.org/french
>>>>>>>>>
>>>>>>>>> May God bless you
>>>>>>>>> Que Dieu vous bnisse
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Incoming mail is certified Virus Free.
>>>>>>>>>
>>>>>>>>> Checked by AVG free edition
>>>>>>>>>
>>>>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>>>>
>>>>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>>>>
>>>>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>>>>
>>>>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>>>>
>>>>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>>>>
>>>>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Tue, 31 Jan 2006 06:19:58 +0100   author:   Doug Robbins - Word MVP

Re: variable text   
THANKS SO MUCH

-- 
 http://en.bibleinfo.com/gift/

lessons gratuites de Bible en franais
http://www.discoveronline.org/french

 May God bless you
Que Dieu vous bnisse



Incoming mail is certified Virus Free.

Checked by AVG free edition

anti-virus system (http://www.grisoft.com).



~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Jesus is coming soon         Jsus revient bientt

Please be ready                   S.V.P. soyez prt

see www.Bibleinfo.com         voyez  www.Bibleinfo.com

available in 16 languages   disponible en 16 langues

or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com



"Doug Robbins - Word MVP"  wrote in message 
news:OElt9XiJGHA.3700@TK2MSFTNGP15.phx.gbl...
> At one point in your code you have "lesmumb" and at another you have 
> "lesnumb".
>
> To get a choice for the title, you could use a combobox on a userform with 
> controls for each of the other variables that you are entering
>
> See the article "How to create a Userform" at:
>
> http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm
>
>
> -- 
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "the mailman"  wrote in message 
> news:eGCj02eJGHA.1728@TK2MSFTNGP14.phx.gbl...
>> yes thanks it works now but my second  variable "lesnumb" always gives me 
>> 0 as value and my second question about the choice between 4 differents 
>> prefixed value as for the "title" variable was not answered. Thanks so 
>> much.
>>
>> -- 
>> http://en.bibleinfo.com/gift/
>>
>> lessons gratuites de Bible en franais
>> http://www.discoveronline.org/french
>>
>> May God bless you
>> Que Dieu vous bnisse
>>
>>
>>
>> Incoming mail is certified Virus Free.
>>
>> Checked by AVG free edition
>>
>> anti-virus system (http://www.grisoft.com).
>>
>>
>>
>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>
>> Jesus is coming soon         Jsus revient bientt
>>
>> Please be ready                   S.V.P. soyez prt
>>
>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>
>> available in 16 languages   disponible en 16 langues
>>
>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>
>>
>>
>> "Doug Robbins - Word MVP"  wrote in message 
>> news:e4nYbycJGHA.3732@TK2MSFTNGP10.phx.gbl...
>>> Did you set the reference to the "Microsoft Forms 2.0 Object Library" as 
>>> mentioned at the bottom of the article?
>>>
>>> -- 
>>> Hope this helps.
>>>
>>>
>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>> services on a paid consulting basis.
>>>
>>> Doug Robbins - Word MVP
>>>
>>> "the mailman"  wrote in message 
>>> news:ei3OGsZJGHA.2668@tk2msftngp13.phx.gbl...
>>>>I have vb 6.3
>>>> it does not work it stops as highlite
>>>> Sub titlelesson()
>>>>
>>>>
>>>>
>>>> Selection.HomeKey Unit:=wdStory
>>>>
>>>> Dim lesnumb As Integer
>>>>
>>>> lesmumb = InputBox("lesson #")
>>>>
>>>> Dim lesscr As Integer
>>>>
>>>> lesscr = InputBox("lesson screen #")
>>>>
>>>> Dim title As String
>>>>
>>>> title = "IIWTF"
>>>>
>>>> Dim MyData As DataObject
>>>>
>>>> Dim strClip As String
>>>>
>>>> strClip = (title & "." & lesnumb & "." & lesscr)
>>>>
>>>>
>>>>
>>>> Set MyData = New DataObject
>>>>
>>>>
>>>>
>>>> MyData.SetText strClip
>>>>
>>>> MyData.PutInClipboard
>>>>
>>>> -- 
>>>> http://en.bibleinfo.com/gift/
>>>>
>>>> lessons gratuites de Bible en franais
>>>> http://www.discoveronline.org/french
>>>>
>>>> May God bless you
>>>> Que Dieu vous bnisse
>>>>
>>>>
>>>>
>>>> Incoming mail is certified Virus Free.
>>>>
>>>> Checked by AVG free edition
>>>>
>>>> anti-virus system (http://www.grisoft.com).
>>>>
>>>>
>>>>
>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>
>>>> Jesus is coming soon         Jsus revient bientt
>>>>
>>>> Please be ready                   S.V.P. soyez prt
>>>>
>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>
>>>> available in 16 languages   disponible en 16 langues
>>>>
>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>
>>>>
>>>>
>>>> "Doug Robbins - Word MVP"  wrote in message 
>>>> news:urHIPnVJGHA.2040@TK2MSFTNGP14.phx.gbl...
>>>>> See the article "Manipulating the clipboard using VBA" at:
>>>>>
>>>>> http://www.word.mvps.org/FAQs/MacrosVBA/ManipulateClipboard.htm
>>>>>
>>>>>
>>>>> -- 
>>>>> Hope this helps.
>>>>>
>>>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>>>> services on a paid consulting basis.
>>>>>
>>>>> Doug Robbins - Word MVP
>>>>>
>>>>> "the mailman"  wrote in message 
>>>>> news:%23Dy41uTJGHA.3492@TK2MSFTNGP09.phx.gbl...
>>>>>> here is my macro
>>>>>>
>>>>>> Sub titlelesson()
>>>>>> Selection.HomeKey Unit:=wdStory
>>>>>> Dim lesnumb As Integer
>>>>>> lesmumb = InputBox("lesson #")
>>>>>> Dim lesscr As Integer
>>>>>> lesscr = InputBox("lesson screen #")
>>>>>> Dim title As String
>>>>>> title = "IIWTF"
>>>>>>
>>>>>> Dim texttoadd As String
>>>>>> texttoadd = (title & "." & lesnumb & "." & lesscr)
>>>>>>
>>>>>>
>>>>>> how can I include that last variable in my clipboard to paste it 
>>>>>> anywhere I want. Also I would like for the variable title to be able 
>>>>>> to choose between three more title but how . I have search real hard 
>>>>>> to help myself but could not succeed yet with the help files. Thanks 
>>>>>> for your help.
>>>>>>
>>>>>> -- 
>>>>>> http://en.bibleinfo.com/gift/
>>>>>>
>>>>>> lessons gratuites de Bible en franais
>>>>>> http://www.discoveronline.org/french
>>>>>>
>>>>>> May God bless you
>>>>>> Que Dieu vous bnisse
>>>>>>
>>>>>>
>>>>>>
>>>>>> Incoming mail is certified Virus Free.
>>>>>>
>>>>>> Checked by AVG free edition
>>>>>>
>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>
>>>>>>
>>>>>>
>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>
>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>
>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>
>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>
>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>
>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Doug Robbins - Word MVP"  wrote in message
>>>>>> news:%23flgWjjIGHA.604@TK2MSFTNGP14.phx.gbl...
>>>>>>> Use the PrivateProfileString method of the System object.
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> Hope this helps.
>>>>>>>
>>>>>>> Please reply to the newsgroup unless you wish to avail yourself of 
>>>>>>> my
>>>>>>> services on a paid consulting basis.
>>>>>>>
>>>>>>> Doug Robbins - Word MVP
>>>>>>>
>>>>>>> "the mailman"  wrote in message
>>>>>>> news:ugEW5pfIGHA.1032@TK2MSFTNGP11.phx.gbl...
>>>>>>>> yes i know about notepad sorry for my english but what i want to do 
>>>>>>>> is
>>>>>>>> creating a string made of different variable results in my macro 
>>>>>>>> and be
>>>>>>>> able to retrieve it in notepad for pasting it in an other document
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> http://en.bibleinfo.com/gift/
>>>>>>>>
>>>>>>>> lessons gratuites de Bible en franais
>>>>>>>> http://www.discoveronline.org/french
>>>>>>>>
>>>>>>>> May God bless you
>>>>>>>> Que Dieu vous bnisse
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Incoming mail is certified Virus Free.
>>>>>>>>
>>>>>>>> Checked by AVG free edition
>>>>>>>>
>>>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>>>
>>>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>>>
>>>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>>>
>>>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>>>
>>>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>>>
>>>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> "Doug Robbins - Word MVP"  wrote in message
>>>>>>>> news:%23JJ4G7eIGHA.1424@TK2MSFTNGP12.phx.gbl...
>>>>>>>>> Notepad is simply a utility for use in creating/editing text 
>>>>>>>>> files. If
>>>>>>>>> you are wanting to store something in a text file, you can use the
>>>>>>>>> .PrivateProfileString method of the the System object.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Hope this helps.
>>>>>>>>>
>>>>>>>>> Please reply to the newsgroup unless you wish to avail yourself of 
>>>>>>>>> my
>>>>>>>>> services on a paid consulting basis.
>>>>>>>>>
>>>>>>>>> Doug Robbins - Word MVP
>>>>>>>>>
>>>>>>>>> "the mailman"  wrote in message
>>>>>>>>> news:e%23ZGFqcIGHA.344@TK2MSFTNGP11.phx.gbl...
>>>>>>>>>> how do i create a text in my macro made of combined string 
>>>>>>>>>> variable
>>>>>>>>>> that can be store in notepad
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>> http://en.bibleinfo.com/gift/
>>>>>>>>>>
>>>>>>>>>> lessons gratuites de Bible en franais
>>>>>>>>>> http://www.discoveronline.org/french
>>>>>>>>>>
>>>>>>>>>> May God bless you
>>>>>>>>>> Que Dieu vous bnisse
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Incoming mail is certified Virus Free.
>>>>>>>>>>
>>>>>>>>>> Checked by AVG free edition
>>>>>>>>>>
>>>>>>>>>> anti-virus system (http://www.grisoft.com).
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>>>>>>>>>>
>>>>>>>>>> Jesus is coming soon         Jsus revient bientt
>>>>>>>>>>
>>>>>>>>>> Please be ready                   S.V.P. soyez prt
>>>>>>>>>>
>>>>>>>>>> see www.Bibleinfo.com         voyez  www.Bibleinfo.com
>>>>>>>>>>
>>>>>>>>>> available in 16 languages   disponible en 16 langues
>>>>>>>>>>
>>>>>>>>>> or www.kidsbibleinfo.com      ou  www.kidsbibleinfo.com
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Tue, 31 Jan 2006 01:02:10 -0500   author:   the mailman

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us