Hello everybody,
once more I need your help!
My little program should be compatible to UNIX and WINDOWS environments. In Windows I can retrieve the error code if send() or receive() function of winsock fails with WSAGetLastError(). How can I retrieve the error code under UNIX environments...
Hello everybody,
may you can help me with this:
how can i retrieve the filename of the current opened word document with a vba command?
(it is a word document in which i use an AutoOpen macro. every time when it is opened i start the saveAs dialog, so it is not the same filename any more)
Hello everybody,
I am working with Forms. When I press a button Excel shall start. But in the same moment it dissapears.
My Code:
Dim ExcApp As Object
Privat Sub Button1_Click()
Set ExcApp = CreateObject("Excel.Application")
ExcApp.Visible = True
End Sub
How can I achieve, that...
Hello everybody,
new day, new problem. ;-)
i am using forms and a lot of checkboxes in my vba-word-script. so i wonder myself, if there is a possibility to do things easier.
my code:
Sub main()
Call Transfer1(CheckBox1)
Call Transfer1(CheckBox2)
...
End Sub
Sub Transfer1(myBox As CheckBox)...
OK, sorry for that simple questions. I find it out by myself very quikly. must be following code:
Sub WrdXl()
Dim ExcApp As Object
Set ExcApp = CreateObject("Excel.Application")
ExcApp.Visible = True
ExcApp.Workbooks.Open "C:\Mappe1.xls"
ExcApp.Range("D2").Select...
For people who has the same problem:
Sub WrdXl()
Dim ExcApp As Object
Set ExcApp = CreateObject("Excel.Application")
ExcApp.Visible = True
ExcApp.Workbooks.Open "C:\sheet1.xls"
Set ExcApp = Nothing
End Sub
Hello everybody,
i am new to vba, so please be patient. :-)
maybe you can help me. i want to open an excel sheet, select a cell (maybe "D2") and copy its value/content. then i want to return to word and paste this value/content.
my vba-script does only work until the value/content of...
Hello everybody,
is it possible to start Excel while running a Word VBA Script? I mean, is it possible to start Excel with an explicit Word-VBA-Script-Order?
And further: Is it possible to overtake a value from an Excel Cell automatically in Word? #-)
Thanks in Advance!
Greetings from...
Hi everybody,
is it possible to ask (in word with vba) which printer- driver is to be used? And how can I use this, f. e. to trim document properties on this driver?
Any help is welcome!! ;-)
Greetings from Europe, webstony
I just found this at the web:
Private Sub ListEnviron()
Dim new_value As String
Dim txt As String
Dim i As Integer
i = 1
Do
new_value = Environ$(i)
If Len(new_value) = 0 Then Exit Do
txt = txt & new_value & vbCrLf
i = i + 1
Loop
MsgBox txt
End...
Hi everybody,
vba is totally new to me, so my question might be very simple.
I work with VBA in Word and I need some operating system informations (my OS is WIN NT 4), like which user 's logged in ... Can I use the Environ- Function? And if, how do I get information with it. The help-system of...
Hi everybody,
I have a file that cannot readout with a perl-script correctly. This may be caused because the file is not ASCII- format. How can I instruct my perl- script the correct content- type of the file??
Thanks in Advance,
webstony
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.