IDEAScript Questions
Changing files and criteria/formulas
Forums
I am new to scripting and have a few questions:
1. If I create a script based on a specific file and later want to run that script on another file, how do I do it without having to go into the script and modify the file? Is there a way to create a script not based on a specific file but just the open file in IDEA?
2. I have criteria to enter into a script but have been told it isn't possible. Is it possible to enter criteria/formula into the script?
Thanks for your help.
- Read more about Changing files and criteria/formulas
- 1 comment
- Log in or register to post comments
Importing an Excel Spreadsheet
Forums
When importing an Excel spreadsheet using in V9 is there anyway of not assigning the sheet name (first sheet always being imported from the spreadsheet) to the imported database name i.e. spreadsheet name= Prefix, sheet name= x. Normal database name imported =Prefix-x but would just like to have the database output to be named as Prefix.
- Read more about Importing an Excel Spreadsheet
- 3 comments
- Log in or register to post comments
How about being...MAD?
Forums
Dear Brian,
apologies for the subject but it is Friday. I was wondering if you have any tips or a script on how to run median absolute deviation (MAD). I refer to chapter 6 of Nigrini's book and I find the MAD concept quite interesting. I have tried to use the formula using normal functions but it gets messy. Any tips?
cheers
Stefano
- Read more about How about being...MAD?
- 2 comments
- Log in or register to post comments
How to set image for a new ribbon under Smart Analyzer
Forums
Hi,
I am creating a new ribbon under Smart Analyzer. Please see the image. I am unable to set image for the 'Banking Procedures' like that for Data Request, Tagging etc. Please advice.
Thanks,
Shafeer
how to get the selected item from a dropdown combobox
Forums
Client.OpenDatabase
Forums
Hello,
I'm new here and looking for an easy wildcard (hopefully the right term in English) in the database-name.
At the ? below It's not working with % or * or $ of "?" and I want to make one script for all years.
Part of the code:
------------------------------------------------------------------------------------
Dim pad As String
Dim reg As String
Dim db As Object
Dim dbName As String
pad = Client.WorkingDirectory
- Read more about Client.OpenDatabase
- 22 comments
- Log in or register to post comments
How to add items to Combobox in Dialog
Forums
Hi,
Can anybody tell me the syntax to add items to a Combo box placed in Idea Scripting Dialog control?
Thanks,
Shafeer
- Read more about How to add items to Combobox in Dialog
- 20 comments
- Log in or register to post comments
Hyperlink
Forums
Let's try that again.
Hi,
I'm trying to write a piece of code in ideascript that will open a word document and insert a file address at a bookmark location.
I'm getting an error message that the "Paramater is incorrect"
Any help on this would be appreciated
Thanks
Marc
Here's the code:
QBMail = "D:\IDEA\Test.docx"
MyAdd = D:\TemporaryLocation"
Set wrdApp = CreateObject("Word.Application")
Set wrdDoc = wrdApp.Documents.Open(QBMail)
- Read more about Hyperlink
- 4 comments
- Log in or register to post comments
Error number 51 - Unable to find a schema in database.
Forums
Hi Brian,
I get a strange Error message: "Analysis_PU_02_Duplicate_Name_Address_VATNumber",51,"Unable to find a schema in database."
I executed my script several times and 2 out of 5 times I get said error.
I always execute the script from the same folder and have the same working folder.
Here is my Code:
Function Analysis_PU_02_Duplicate_Name_Address_VATNumber
On Error GoTo ErrHandler
Removing special Characters
Forums
Hi Brian,
Love your site.
- Read more about Removing special Characters
- 10 comments
- Log in or register to post comments