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
Hi everybody,
I use a Proxy- Server with User Authentification to access to the internet.
So, if I use the LWP- Module in an perl- script, which calls a www- adress, it will not work. how can I tell the script that I am using a proxy??
Thanks in Advance,
webstony
Hi everybody,
I am working behind a firewall and have internet access through a proxy- server. This server needs username and password for authentification. Is it possible with Perl to automate this authentification?
Thanks in Advance,
webstony
Hi everybody,
I have a problem concerning Filehandles. Is it possible to open a file just to insert new lines at a certain point in that file? I don't want to append the new content, I just want to write it before a specific keyword in that file.
Or do I have to read out the whole file ?? I...
Hi everybody,
I have a question concerning perl. Because I am a Beginner in Perl- Programming, please excuse if my question is too simple, but I need your help.
Is it possible to work with Oracle Databases (maybe through the ODBC- Interface) in Perl? And if: Which commands do I have to use, for...
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.