OpenOffice 2.4 macro error
All for-loops in my macros (written in OpenOffice-basic) trigger an error message:
' clear input fields
For i = 0 To 10
Select Case i
Case 0, 6, 7, 8, 9, 10:
oCtl(i).EffectiveValue = 0
oCtl(i).Text = ""
Case 1, 2, 5:
oCtl(i).Value = 0
Case 3, 4:
oCtl(i).Text = ""
End Select
Next i
In the above snippet, the error occurs on the last instruction (Next i, loopcounter is 0).
Downgrading back to version 2.3.1-1 and everything is back to normal.
I'm not sure if it is related but I get errors trying to use ooolatex in 2.4, works fine in 2.3
Similar Messages
-
Macro Error while executing planning functions or saving data
Dear All,
I am getting following error in BEx Analyzer while executing planning function or pressing a save button.
Note: Excel is 2007 version.
Cannot run the macro "XXXXXX.xlsx". The macro may not be available in this workbook or all macros may be disabled.
I changed the settings in Macro Settings (Office Button -> Excel Options -> Trust Center -> Trust Center Settings-> Macro Settings) eventhough it is showing that above message.
selected ->
Enalble all macros
Trust access to VBA project object model.
If anybody faced this issue kindly reply to this.
Best Regards,
SGHello everybody,
i am facing exactlythe same issue! I am currently running GUI Patch Level 14 and BI Add on Patch Level 10.
I have also adjusted all necessary settings in Excel Options like Activate all Macros and Trust VBA Coding.
Does anybody have another Solution.
As mentioned before Gui Patch 13 and BI Add On Patch 10 obviously arent the solutiuon.
Best regards
Janos -
Macro error with BI Publisher Add-In: exd removal not working
I'm running into the 'macro not found' error as of today with the Oracle BI publisher desktop add-in for Word. Using Word 2007...everything worked fine yesterday, computer did an update overnight.
I tried the old methods of closing Word, locating .exd files on my hard drive, renaming them, and then restarting Word. Still running into the same issues. Has anyone else started to experience this today?
exd files are being generated after the above process to AppData\Local\temp\vbe (2 files: MSComctLib.exd and MSForms.exd)Hi I was also running with exact problem, and running on this issue for 1.5 days with all regular work around.
However below steps resolved my issue.
1. Uninstalled the old version of BI.
2. Taken latest version Oracle BI Publisher Desktop via OTN (http://otn.oracle.com/ ) which is 11.1.1.6 [ I took 32 bit version as my MS Word is 32 bit version].
3. Renamed the *.EXD %USERPROFILE%\Local Settings\Temp\VBE as *.EXD_OLD
4. Installed the latest version of BI Publisher Desktop, in admin mode.
With out any other work around its working.
Thanks!
P.Ranish
Edited by: user781215 on Aug 23, 2012 6:27 AM -
Help needed - Excel macro error after Reader 11 update.
I wrote the following section of an Excel 2010 macro to open a selected pdf file with Adobe Reader, then copy all text to the clipboard & then return to Excel to paste &
process the data. The macro works with Adobe Reader 10. After I updated to Adobe Reader 11, Reader 11 will open but I get an error message of file not found. I've gone back &
forth between Reader 10 & 11 from clean installs & the problem stays with 11. The only thing I changed in the macro is the path for where Abobe Reader is located. The only
Adobe Reader preferences I change from the clean install setup is I set the Default View to Single Page continuous. Any help would be appreciated.
'Get the data file (pdf) to open
fileToOpen = Application.GetOpenFilename("PDF Files (*.pdf), *.pdf")
If fileToOpen = False Then Exit Sub
Application.Wait Now + TimeSerial(0, 0, 1)
'Filepath for Adobe Reader 10 program for Windows 64bit systems
MyPath = "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe"
'Open PDF file with Adobe Reader
Shell MyPath & " " & fileToOpen, vbNormalFocus
'Wait for Adobe to Open file
Application.Wait Now + TimeSerial(0, 0, 5)
'Select all text [Ctrl-a](Adobe Reader set for Single Page Continuous)
SendKeys ("^a")
'Copy selected text [Ctrl-c]
SendKeys ("^c")
Application.Wait Now + TimeSerial(0, 0, 2)
'Turn off screen updating
Application.ScreenUpdating = False
Here's the only difference in the macro for Adobe Reader 11
'Filepath for Adobe Reader 11 program for Windows 64bit systems
MyPath = "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"Hi,
I do not see any reason for this to not work.
Is there any difference between the preferences for RX and RXI. Please go to "edit" -> "Preferences" -> "Security(Enhanced)" and uncheck "Enable protected mode at startup".
Are you able to open any pdf from command line with the same command:
"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" <<PDF_FILE>>
Thanks,
Amish. -
Excel macro error after deploying in Weblogic
Halo,
I have written excel macros and it is working fine.
but if the same file if i try to open from hyperlink after deploying in Weblogic server , I get the error
"error occured initializing the VBA libraries.
If Microsoft Visual Basic for Applications (VBA) was not installed, or was set to Install on first use,
(advertised, or set to install on demand) you may receive this error message.
Depending on the mode of installation used and the rights of the user to change current settings,
it is possible to install VBA through Control Panel, Add/Remove Programs, Microsoft Office, Add or Remove
features. If Visual Basic for Applications is not listed as an installable feature of Office, the administrator
of your system may have disabled it so it is impossible for you to install it. If VBA is not installed,
it is impossible to run VBA applications/projects on this computer. "
1. Even though Excel VBA application is installed in my machine , why am i getting this error.??
2. I would like to know is there any way to open the excel file even though if the excel software is not installed in client machine??
Appreciate your help.
Thanks.Hi,
I do not see any reason for this to not work.
Is there any difference between the preferences for RX and RXI. Please go to "edit" -> "Preferences" -> "Security(Enhanced)" and uncheck "Enable protected mode at startup".
Are you able to open any pdf from command line with the same command:
"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" <<PDF_FILE>>
Thanks,
Amish. -
I have several reports that have Macrou2019s that perform formatting using the After_Expand function. The reports work fine except when publishing the reports with the Book Publication Wizard. It seems the After_Expand function does not run until after the book has been built. I am using BPC 7.0.113
Any assistance will be greatly appreciated.
Thanks!
Chas.Sorin,
Thanks for the follow up here is some more detail
Can you precise what is not working and when?
When a Report has a macro in it using after expand it runs fine, except when using a book publication, in which case the macro does not run.
Do you have problem during the book publications?
There are no error messages of any kind. The macro just does not run whwn using book publication
The macro is not working into published excel?The macro runs fine, except when generating the report with book publication.
Thanks
Chas. -
BeforeSave macro error when installing in EGlobal
I've been working on getting a BeforeSave macro to capture baseline "save" dates as referenced in this thread:
http://social.technet.microsoft.com/Forums/projectserver/en-US/30c5ea7b-325f-4de7-be6c-8e150f7ae1b3/capturing-baseline-save-date?forum=projectprofessional2010general
I've also found another thread in which Barbara Henhapl explains how to incorporate the BeforeSave macro into the EGlobal template:
http://social.msdn.microsoft.com/Forums/en-US/0ac7d567-8c30-4b8c-bf6f-05c0ba011372/how-to-run-a-macro-automatically-before-saving-the-project?forum=project2010custprog
However, now that I have the macro working in an individual project, I'm having difficulty getting it saved to my global template so it's automatically added to each schedule when it's opened from the server.
I've tried adding the code to the "VBAProject (Global + non-cached...) --> Microsoft Project Objects --> ThisProject (Global + non-cached...) but it's throwing a Run-time error as show below:
This screen shot is from editing the Global template itself. I've also tried adding the code by saving the schedule that the code is working in to the server, and then adding the code to the VBAProject from there. Still throws the same error.
What am I missing?
Thanks for any suggestions.
DJ JohnsonHi,
replace ActiveProject by "pj" at all places. You want to run the macro from the active project, which is calling the Project_BeforeSave in Eglobal with activeproject as parameter.
Moreover, you are using Enterprise fields, they may also cause an error.
And the last point is to avoid unnecessary steps on EBlobal itsself. So have please a look at my suggestion:
Private Sub Project_BeforeSave(ByVal pj As Project)
'avoid strange behavior in Eglobal
If pj = "Checked-out Enterprise Global" Then
Exit Sub
End If
'Write "" into zzBP00
pj.ProjectSummaryTask.SetField FieldID:=FieldNameToFieldConstant("zzBP00", pjTask), Value:=""
End Sub
Does this work?
Barbara
To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
an appropriate solution faster. Thanks for your support! -
Essbase Smartview VBA macros error
I have a Essbase Smartview VBA macros issue as below:
I want get a value that I choose in POV dynamic dropdown list.
And show the value in the excel.
For example:
There customer dimention -childs are IBM、ACR show in POV dynamic dropdown list.
I choose IBM in POV then in excel sheet A1 show IBM.
I try the below vba code:
Private Sub CommandButton2_Click()
Dim vtGrid As Variant
Dim vtDimNames As Variant
Dim vtPOVNames As Variant
X = HypRetrieve("Sheet1")
If X = 0 Then
MsgBox ("Retrieve successful.")
Else
MsgBox ("Retrieve failed.")
End If
Range("F1").Select
Sts = HypGetSourceGrid("Sheet1", vtGrid)
Y = HypGetPOVItems(vtDimNames, vtPOVNames)
Range("h1").Value = Y
End Sub
'==========================================
But Y result is -3.
How did I get the value in dynamic dropdown list.
Thanks~Few comments:
1. Range("F1").Select: Is F1 inside the grid you are rerieving? If you do a fresh retrieve Range("B2").Select is a better location and you will not get -3.
2. Range("h1").Value = Y. You are setting the error message and not the POV member name. vtPOVNames is an array of POV members and you should use Range("h1").Value =vtPOVNames(1) to get the member name. (1) being the first dimension in the POV.
3. Word of caution. You will not be able to put a valid member name in the grid if it already exists in the POV. I recommend you preface the member name by any string that will make it unique. For instance, you could use
Range("h1").Value = vtDimNames(1) & ": " &vtPOVNames(1)
This way you will see the DimensionName: Member Name.
Here is the modified code:
Sub test()
Dim vtGrid As Variant
Dim vtDimNames As Variant
Dim vtPOVNames As Variant
X = HypRetrieve("Sheet1")
If X = 0 Then
MsgBox ("Retrieve successful.")
Else
MsgBox ("Retrieve failed.")
End If
Range("b2").Select
sts = HypGetSourceGrid("Sheet1", vtGrid)
Y = HypGetPOVItems(vtDimNames, vtPOVNames)
Range("h1").Value = vtDimNames(1) & ": " & vtPOVNames(1)
End Sub
Edited by: Toufic Wakim on May 3, 2010 11:54 AM -
After openoffice install: gnome/kde error "openssl version mismatch."
Hello,
i just installed a new archlinux version on my laptop. After i just installed the full cd version, i made the following things:
pacman -Sy
pacman -S xorg-server xf86-input-mouse xf86-input-keyboard xf86-video-vesa xorg-xinit
pacman -S hwd
hwd -xa
pacman -S gnome
pacman -S gnome-extra
pacman -S openoffice-base openoffice-spell-en openoffice-spell-de
Now, when i try to start gnome via "gdm", i get the following error after login screen:
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- /usr/bin/gnome-session
OpenSSL version mismatch. Built against 90805f, you have 908070
Because i made nothing else on the system except the commands i quoted above, i guess it must be a bug. Has anyone an idea how to solve this problem?
Thx in advance,
Thomas
Last edited by conflagration (2007-10-28 11:26:33)Update:
I just tried a new installation and did the same steps as above, just with kde instead of gnome. After "startkde", the same OpenSSL version mismatch error appears on the console. It's REALLY annoying... -
Macro error while executing worksheets
When I try to execute a function on any of the Input ready worksheet and I click the button (say Revaluate), I get an error saying "The macro 'BExAnalyzer.xla!Sheet2.BUTTON_3_Click' cannot be found".
Any idea what it is due to?
We are on support pack 10. Is it to do anything with that?
Kindly let me know at earliest.
ThanksHello everybody,
i am facing exactlythe same issue! I am currently running GUI Patch Level 14 and BI Add on Patch Level 10.
I have also adjusted all necessary settings in Excel Options like Activate all Macros and Trust VBA Coding.
Does anybody have another Solution.
As mentioned before Gui Patch 13 and BI Add On Patch 10 obviously arent the solutiuon.
Best regards
Janos -
Acrobat X & XI add-in Word 2010 32-bit cause macro error messages
When I enable Acrobat COM add-in in Word 2010 32-bit, when I close Word and re-open Word, I receive the following
This dialog screen pops up three consecutive times after I click on "OK" three consecutive instances.
The add-in works great in Outlook 2010, Excel 2010, but not in Word 2010. I manually installed the Trusted Pulisher Certificate for the add-in the the Trusted Publisher store as shown with no success either.
I went to Word options to the Trust Center and enabled anything pertaining to macros or scripts and still was NOT successful. This worked at one time before, prior to Office 2010 updates from Microsoft. I suspect a Microsoft update may have broken this add-in and may require Adobe to put out an update to fix this. This worked in January 2013 thru Feb 2013 but now fails with Microsoft Office updates after March 2013.
Any help would be appreciated!Please refer :
http://helpx.adobe.com/acrobat/kb/troubleshoot-acrobat-pdfmaker-problems-office.html#main_ Troubleshoot_conflicts_with_other_macros_in_Microsoft_Word
http://office.microsoft.com/en-us/excel-help/enable-or-disable-macros-in-office-files-HA01 0354316.aspx -
Excel Error c0000005 when printing or performing macros.
Ive had this error appear on one of the workstations i manage, Its running windows 8.1 and office 365. Ive tried reinstalling office and I've checked for COM add-ins, which were discussed in topics with the same error but there are none installed. The error
looks as following, should make sense even though it is in danish:
Navn på program med fejl: EXCEL.EXE, version: 15.0.4551.1510, tidsstempel: 0x528be48d
Navn på modul med fejl: EXCEL.EXE, version: 15.0.4551.1510, tidsstempel: 0x528be48d
Undtagelseskode: 0xc0000005
Forskydning med fejl 0x0001e3f7
Proces-id 0xc24
Programmets starttidspunkt 0x01cf13920e6c4b0b
Programsti: C:\Program Files\Microsoft Office 15\root\office15\EXCEL.EXE
Modulsti: C:\Program Files\Microsoft Office 15\root\office15\EXCEL.EXE
Rapport-id: 4fc4d933-7f85-11e3-826c-00242cbbb1ea
Fuldt navn på program med fejl:
Relativt program-id for program med fejl:
It Crashes once i try to print and sometimes when running database connected macros. Sometimes I can get it to print by running excel as admin. The macro crash I got rid of by setting security settings to full control for the user but that cant be optimal.
Any help would be appreciated.I get the error in safe mode too. The macro error was sorted by giving the user full control in the security settings. Funny thing is that everything runs fine in Excel 2010. I tried contacting Office 365 support but those guys won't give support to usability
issues in the office tools. So i got refered to the support branch where you have to pay for support and my boss won't allow that.
So I'm pretty much stuck at this point. My guess is that it is some kind of compatability issue but I don't have enough excel experience to figure out where the problem is. We have over a couple hundred excel templates where a handful has come up with the
error in Excel 2013 so far, so unless theres some global fix or an update comming for this problem I got some work ahead of me. -
Error when building documentation
This issue was sent to me via e-mail by a colleague:
Question iReport Development No.1 - Report Build error by Eclipse
-Issue:
When we build using build-release, a build error is being thrown.
-Situation:
Concerning this error, we think that "external.odt" file does not
exist when it is converting from OpenOffice format to PDF format.
As in addition, we set path for OpenOffice and developed macro
converting to PDF file along SDK document.
Please see follow URL: 'Reports - Developer Community'
(http://developer.novell.com/wiki/ind...ng_the_Plug-in)
Error screen shot: Please see the attached files.
>Image1.jpg
Double click build-release, report build error is occurred.
>Image2.jpg
"BUILD FAILED" is appearing after close Run time error dialog box.
Please let me know workaround or how to solve this issue.
[DGC - the two screenshots showed:
a) the OpenOffice macro debugger open and with an error popup (in
Japanese); the cursor was pointing to the line: oIndexes =
oDoc.getDocumentIndexes()
b) The resulting Ant build error, which states that it can't find the
'external.pdf' file to copy
DCorlette
DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
View this thread: http://forums.novell.com/showthread.php?t=416875OK, so first some background:
1) The basic process goes like this:
a) one release doc (edited by the developer, presumably) and the
template docs are copied to the build area
b) Each doc is unzipped (ODT's are just ZIP files) into a subdir
c) The doc contents are copied around; this is to allow Ant to
replace its special @VAR@ variables in the document content
d) The docs are zipped back up into ODTs
e) The ODTs are converted into PDFs using OOo's macro functionality
Here are the troubleshooting steps I would apply:
1) Make sure the external.odt file exists - check the build area
(//content/build/<pluginname>/tmp/) and can be opened using normal
OpenOffice
2) Check that the release.odt file exists (same location) and can be
opened using normal OpenOffice
3) See if you can manually convert the external.odt file into a PDF -
the command we use is simply:
soffice -invisible
macro:///Standard.Collectors.External2PDF(${pkgdir}/tmp/external.odt)
(replace ${pkgdir} with the build directory path).
If all that works, then the Ant build process should work.
Also - what does that OpenOffice error popup say?
DCorlette
DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
View this thread: http://forums.novell.com/showthread.php?t=416875 -
Openoffice - empty language modules and spel checking does not work
Hi,
I installed openoffice-base, openoffice-de and openoffice-spell-de. My /opt/openoffice/share/dict/ooo/dictionary.lst looks ok:
### start de
DICT de AT de_DE
DICT de AT de_AT
DICT de DE de_DE
DICT de DE de_DE_neu
DICT de DE de_DE_comb
DICT de LI de_CH
DICT de LU de_DE
DICT de CH de_CH
HYPH de AT hyph_de_DE
HYPH de DE hyph_de_DE
HYPH de LI hyph_de_DE
HYPH de LU hyph_de_DE
HYPH de CH hyph_de_CH
THES de DE th_de_DE
THES de DE th_de_DE_v2
### end de
Ive read nearly every hint on the internet to this problem, but nothing works.
When trying to check the spelling, OO returns immidiately and says, its everything fine, even if i have errors.
I tried to install the dictionary again with the OO wizard, but without success. Im getting some Macro error when trying to run it.
Hopefully someone can help me. Im out of ideas
Edit: sorry i just saw, that i posted my topic in the wrong sub-forum. Maybe someone cann move it to the correct one...
Last edited by setti (2008-04-21 21:23:19)With hunspell update released yesterday problem still exist... Language modules box is empty, spellchecker not working. When trying to use DicOOo there is some macro error.
EDIT
Mea Culpa. Everything is working now, I've missed update to openoffice-base
Last edited by blasse (2008-04-24 08:11:11) -
Arch PPC OpenOffice: Cannot find libicuuc.so.40
With a fresh installation of OpenOffice.org (package openoffice-base) on Arch PPC (using an aluminum PowerBook G4), I can't run OpenOffice. When I run "soffice" in a terminal, it throws the following error message:
/usr/lib/openoffice/program/soffice.bin: error while loading shared libraries: libicuuc.so.40: cannot open shared object file: No such file or directory
What does libicuuc.so.40 do, why isn't it there, and what can I do to fix it?libicuuc.so.40 => libicu.
http://www.archlinuxppc.org/packages/4756/
Is it installed ? It has to be installed, because openoffice-base depends on it.
Maybe you are looking for
-
Reading values from a dynamic report.
Hi All. I have an interactive report. It has built by a SQL query, the report has 6 columns, two of them have been dynamic created. Source Lines for this fields are as follow : select apex_item.checkbox(1,TRANSACTION_INTERFACE_ID) , apex_item.display
-
How to set the current row in table automatically when tabout from one row to next row
Hi I'm using jdev 11.1.2.0.0 How can we set the row(in which row focus is) as current row in the table? If we create a table with single row selection, then whichever row we select, that row becomes current row because of the selection listener(#{b
-
Why has maverick made my iMac so slow
Does anyone know why the Mav update has slowed my machine to work like windows!!! Its a 2011 21" Imac is there anything we can do or our apple working on this?
-
How to change the position of label of an item to be in the rigth side?
Hi , I want to change the position of the label of an item (displayed as text field) to be in the rigth side of the text field of the item instead on the left side of the text field of the item? Thanks in advance Yoel
-
I created a purchase order and deleted it.
I created a purchase order and deleted it. when i query the purchase order even in history table the PO is not avaialble. why? The table i queried In release r12 SELECT * FROM apps.po_history_all