Hello All,
I am trying to code using Visual Basic to open OpenOffice calc application and manipulate with the cells. I am successful to a certain extent, however I am facing a problem formatting the cell..... for example, I want to draw borders to a cell. How can this be achieved??
Following is the code that I have written : -
Function MakeCellBorderLine(nColor, nInnerLineWidth, nOuterLineWidth, nLineDistance) As Object
-
oBorderLine = createUnoStruct("com.sun.star.table.BorderLine")
-
With oBorderLine
-
.Color = nColor
-
.innerlinewidth = nInnerLineWidth
-
.outerlinewidth = nOuterLineWidth
-
.linedistance = nLineDistance
-
End With
-
-
MakeCellBorderLine = oBorderLine
-
End Function
-
Whenever I compile my code it gives me an error that says : "User-defined type not defined". I have absolutely NO CLUE how to proceed. Can someone be of help???
Thanks a ton in advance..
Rgds,
SAM
6 5947
I am trying to code using Visual Basic to open OpenOffice calc application and manipulate with the cells ...
Please forgive me, I do not know how this can be handled. Have you searched here previously?
Good luck!
Dököll
Which line throws the error?
Hi All,
I am experiencing similar issues as faced by samdotnetprogrammer. Please could anyone tell the .dll that we need to use so that we could work on OpenOffice Excel / Word. Few hours back I saw a website that mentions the following dll:
1. OOWRITVB.DLL - For Text Docs. (OpenOffice)
2. OOCALCVB.DLL - For Excel. (OpenOffice)
I presume that once we add these two files in the references, we will be able to work just as we can work on Microsoft Excel after adding Microsoft Excel 11.0 Object Library.
Am I right? Please let me know.
Hello All,
I am trying to code using Visual Basic to open OpenOffice calc application and manipulate with the cells. I am successful to a certain extent, however I am facing a problem formatting the cell..... for example, I want to draw borders to a cell. How can this be achieved??
Following is the code that I have written : -
Function MakeCellBorderLine(nColor, nInnerLineWidth, nOuterLineWidth, nLineDistance) As Object
-
oBorderLine = createUnoStruct("com.sun.star.table.BorderLine")
-
With oBorderLine
-
.Color = nColor
-
.innerlinewidth = nInnerLineWidth
-
.outerlinewidth = nOuterLineWidth
-
.linedistance = nLineDistance
-
End With
-
-
MakeCellBorderLine = oBorderLine
-
End Function
-
Whenever I compile my code it gives me an error that says : "User-defined type not defined". I have absolutely NO CLUE how to proceed. Can someone be of help???
Thanks a ton in advance..
Rgds,
SAM
Hi All,
I am experiencing similar issues as faced by samdotnetprogrammer. Please could anyone tell the .dll that we need to use so that we could work on OpenOffice Excel / Word. Few hours back I saw a website that mentions the following dll:
1. OOWRITVB.DLL - For Text Docs. (OpenOffice)
2. OOCALCVB.DLL - For Excel. (OpenOffice)
I presume that once we add these two files in the references, we will be able to work just as we can work on Microsoft Excel after adding Microsoft Excel 11.0 Object Library.
Am I right? Please let me know.
Regards,
VBHulk
Hello All,
I am trying to code using Visual Basic to open OpenOffice calc application and manipulate with the cells. I am successful to a certain extent, however I am facing a problem formatting the cell..... for example, I want to draw borders to a cell. How can this be achieved??
Following is the code that I have written : -
Function MakeCellBorderLine(nColor, nInnerLineWidth, nOuterLineWidth, nLineDistance) As Object
-
oBorderLine = createUnoStruct("com.sun.star.table.BorderLine")
-
With oBorderLine
-
.Color = nColor
-
.innerlinewidth = nInnerLineWidth
-
.outerlinewidth = nOuterLineWidth
-
.linedistance = nLineDistance
-
End With
-
-
MakeCellBorderLine = oBorderLine
-
End Function
-
Whenever I compile my code it gives me an error that says : "User-defined type not defined". I have absolutely NO CLUE how to proceed. Can someone be of help???
Thanks a ton in advance..
Rgds,
SAM
Hi ALL,
I finally got what I needed. The following DLLs can be downloaded from the URL given below:
a. OOWRITVB.DLL
b. OOCALCVB.DLL
URL: http://pagesperso-orange.fr/hffm/m3.html
You can see version 1.00 written against the DLL names on the website:- OOWRITVB AND OOCALCVB. Download the zips. After extracting the zips, a folder named TEST would also be copied. Open this folder and you can see these DLLs. I would like to thank Amrut Koli, a senior engineer who assisted me in finding the DLLs.
Regards,
Thomas
Good job vbhulk
This is gonna be helpful to anyone with same problem like this.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Allenabethea |
last post by:
Is there any advantage to upgrading the python distribution
which is part of OpenOffice to 2.3.3?
I notice it is version 2.2.2
Are the bug fixes crucial?
allen
|
by: Jean-Marie Gouarné |
last post by:
The new OpenOffice::OODoc distribution, V 1.203, is available from CPAN
today.
It's an Expat-based Perl extension allowing direct read/write access to
OpenOffice.org (XML) documents. It provides...
|
by: Bob Powell |
last post by:
Hello everyone:
Can anyone tell me if it is possible to connect excel or openoffice via
odbc directly to a postgres backend database.
Also, if that is possible does either OpenOffice or Excel...
|
by: dtsearch |
last post by:
New release expands-through a .NET Spider API, to Linux, and to
OpenOffice-dtSearch's ability to index over a terabyte of text in a
single index, with indexed search time typically less than a...
|
by: Sells, Fred |
last post by:
I've geen googling for 3 days now, and cannot find out how to do this.
I'm trying to use OpenOffice 2.0 and UNO to generate PDF documents. I'm
using windows, but will have to make it work under...
|
by: kenneth.m.mcdonald |
last post by:
Are then any currently active and reasonably mature Python plugins/
apis/whatever for programming/scripting OpenOffice? The page I've
found is http://udk.openoffice.org/python/python-bridge.html,...
|
by: krishnakant Mane |
last post by:
hello,
right now I am involved on doing a very important accessibility work.
as many people may or may not know that I am a visually handicap
person and work a lot on accessibility. the main...
|
by: PaoloB |
last post by:
Hi everyone,
during our development, we need to write some unit tests that interact
with OpenOffice through pyUno.
Is there anyone who has got any experience on it? As OpenOffice is
quite a...
|
by: progvar |
last post by:
hi
i am getting probleum in converting a spell check progrma made in vb 6.0 and Ms-office Word into OpenOffice Word
when i made spell check program in Ms-Word and vb 6.0 it works fine
but i use...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
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: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
| |