Open hidden macro file "personal.xls" with ActiveX in Excel?

Aarrghh... I've almost got this sub-vi working. It runs a macro on an Excel file to format the cells with borders, bold fonts, etc. then closes it and saves as a spec'd filename. It works if before I run it, I open Excel... personal.xls, the hidden file for running macros on all open sheets then opens too, and I can run the formatting VI. However, if I don't open Excel manually beforehand, it opens a new instance that doesn't open personal.xls... Is there a way to open personal.xls whenever my ActiveX automation VI runs?
Thanks for everyone's help... this site is great.
I included my VI:
Attachments:
Format and save spreadsheet.vi ‏74 KB

Oops... spoke too soon. I figured it out. I just did an invoke node and opened "personal.xls" up before I ran the macro. Easy. Here's the VI in case anyone's interested:
Attachments:
Format and save spreadsheet.vi ‏74 KB

Similar Messages

  • How do I open an illustrator file in photoshop with layers

    How do I open an illustrator file in photoshop with layers

    No I don't. Thanks for your reply. It had come from someone as a Ai file and I need to access the layers
    Sent from my iPhone

  • Open a PDF file in illustrator with multiple pages CS6

    Hi all,
    Maybe someone could tell me if this feature is already available...
    I really need to use this feature... maybe someone has a Idea? i need to translate and edit a PDF file that was original designed by our factory... they had hired a company to make the documentation but the company did go bankrupt so we can't get the original files en need the edit the compressed PDF File...
    I Hope someone could help me...
    Greetz
    Leroy

    hi,
    16 PDF Files with 4 pages Each..
    don’t know what kind of text it is…
    about image quality… if there is a method to editing of the PDF ..  then I could Replace the Images …
    Van: Monika Gause [email protected]
    Verzonden: woensdag 22 augustus 2012 13:31
    Aan: AcidusW01
    Onderwerp: Open a PDF file in illustrator with multiple pages CS6
    Re: Open a PDF file in illustrator with multiple pages CS6
    created by Monika Gause <http://forums.adobe.com/people/Monika+Gause>  in Illustrator - View the full discussion <http://forums.adobe.com/message/4639138#4639138

  • Cannot open a JSf file in jdev with WYSWYG

    HI,
    I startup Jdeveloper 11g studio edition version 11.1.2.3.0 with all features option selected. but I cannot open a *.Jspx file in jdev with WYSWYG showing.
    anyone can give help?

    Hi,experts,
    In jdev 11.1.2.3,
    I come up with this problem again:
    In order to improve performance for jdev, i open the Manage Features for Studio Developer(ALL Features) Role, and deselect some features:
    -Database Modeling
    -EJB Modeling
    -Team Productivity Center
    -Version Control
    -Web Services
    -ADF Mobile Browser
    Then after restart jdev,
    Jsf pages cannot see in WYSIWYG mode in Designer viewer.
    only see a component-structured tree but in text style in jdev in designer view
    Even I reinstall jdev, the problem remains.
    Can anyone give any help?
    Thanks.
    Edited by: BAO.SZ on 2013-5-11 上午9:40

  • I'm considering buying CC LR/PS package. My camera is Sony a7 - raw ARW. I've been editing using PSE10 and ver 8.7 of the external Adobe DNG converter. Will I be able to open the DNG files in LR with the edits preserved? Will I be able to open the PSD fil

    I'm considering buying CC LR/PS package. My camera is Sony a7 - raw ARW. I've been editing using PSE10 and ver 8.7 of the external Adobe DNG converter. Will I be able to open the DNG files in LR with the edits preserved? Will I be able to open the PSD files in LR with the edits preserved? Any import/catalog etc issues between PSE10 and LR?

    Lightroom has no problem reading DNG files. Whether the edits you have done to the DNGs you have originally edited in Photoshop Elements 10 I'm not sure. ACR edits made to DNGs are saved in the DNG file itself, as apposed to a XMP sidecar file, so LR should see those edits. At the worst you will get an exclamation mark in the upper right hand corner of the imported DNGs and clicking on that exclamation mark you will get a dialog box asking you to either import settings from disk or overwrite settings. you would select import settings from disk.

  • I cannot open any pdf files from internet with this reader.

    I cannot open any pdf files with this reader, please advise.

    What is your operating system?  What is your browser?  What is your Reader version?  What exactly means "cannot"?

  • How do I open a png file using firefox with windows 7

    In Windows XP I could save an image in the png format then open it using firefox, copy and paste it into an excel spreadsheet. However I can't do this in Windows 7. Has anybody else encountered this problem and found a solution?
    Kind regards

    Hi there,
    Could you describe your workflow and what happens? If you mean that double-clicking on a .png file in a normal folder (Explorer) window doesn't launch it in Firefox, which application is launched when you click it? If you want to make Firefox the default application to handle .png files, you need to change these settings in Windows 7. Unfortunately I don't have it myself (running a Mac here) so I don't remember the exact instructions. But I'm sure you could right-click on a .png file and select "Open With..." and from there manually pick Firefox. Try that and see if you get the results you want!
    Cheers,
    David

  • Opening my datalog file errors out with error 42 generic error

    I'm using the datalog API to store video images flattened to string (the record type is string).  This works great most of the time, and gives me easy access the whichever frame I currently want.  My files are between 15 and 125 MB.  Occassionally when I try to open a file, the Open/Create/Replace Datalog primitive returns error 42, which is a generic LabVIEW error.  The file appears to be the right size and looks as correct as I can tell in a hex editor.  I'm guessing it's some sort of parsing error, but I don't know the datalog API binary format.  I'd really like to recover these files that are throwing the errors.  Any ideas?
    Robert C. Mortensen
    Certified LabVIEW Architect
    Certified LabVIEW Embedded Systems Developer
    Endigit

    Greetings FlamingYawn!
    I apologize for the trouble you're having opening some of your saved datalog files.  Unfortunately, as you have already mentioned, Error 42 is a general error and as such, provides us with little information that we can use in troubleshooting the issue.  From all the research I have done, it seems that the two most common causes of this type of problem are from a logic error in the writing section of the code or from the files being corrupted by some other means during the write (i.e., from bad sectors on a hard disk).  Unfortunately, the file type is a proprietary binary format and the structure is not publicly known.  We currently do not have any tools for use in reading these files outside of LabVIEW.  This is not necessarily to prevent the files from being read by other software but simply because it is a file type that was designed specifically for LabVIEW. The best information I can provide you with is related to the file header.  This can be found in the following KnowledgeBase article:
    LabVIEW Data Logger: Binary Header File Format
    http://digital.ni.com/public.nsf/allkb/747B83B6C8E4A6218625669100563B61
    If it is at all possible, please try to see if the same set of data produces the same error each time following the write/read sequence.  If this is in fact the case, I can work with you further to file a Corrective Action Request so that the developers can address the issue. 
    I hope this helps some.
    Best Regards,
    Michael G
    Michael G.
    Applications Engineer
    National Instruments
    Self-realization: I was thinking of the immortal words of Socrates, who said, "... I drank what?"

  • Date display in dd-mmm-yyyy format on opening a .jsp file as .xls

    Hi,
    I am pretty new to Java and JSP, I have a problem,
    There's an application in which the contents of a .jsp are to be displayed in excel format.
    All the data are displayed in correct format except the dates.
    The dates that are in the dd-MMM-yyyy format in the .jsp's are displayed as dd-mmm-yy in the .xls file.
    How to solve this?
    Thanks in Advance!

    Maybe you need to configure that "application"? Or if you actually have access to the source code, then just take a look in it.
    Without any more details about the "application" we can't help you any much further.
    Generally, when you want to convert a Date or Calendar object to a human readable String, the SimpleDateFormat [1] is been used.
    [1] http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html

  • How do I open Multiple JPG files in RAW with Elements 11

    I choose OpenAs in the editor, and set to Raw, but I can only open one file at a time. Am I doing something wrong?
    Dennis

    Yes, that is a pity.
    Have a look at my feature request to Adobe :
    http://feedback.photoshop.com/photoshop_family/topics/option_to_open_jpeg_files_in_acr_dir ectly_from_the_organizer

  • File to Mail with content as excel attachment

    Hi there,
    Can somebody please guide me in achieving this goal.
    I have a requirement in which I have to send the email content as an excel attachment which is very new to me.
    Requirement
    File.............XI............Mail
    Sender File: xyz.xml
    Mapped with standard mail.xsd and concat all the requested filed to the content but now the requirement is changed and I need to send the content as an excel attachment.
    I don't know JAVA & ABAP and this is the first time I am using mail adapter.
    Can somebody please guide me how to achieve this.
    In Another interface I have to send the source file name as a mail attachment, By Default mail adapter send the filename as untitled.
    Is there easy way to changed the name of the attachment to the source file name.
    File ............... XI.........Mail.
    Source file: xyz.xml
    No mapping required just send the file to the mail adapter but condition is that the file name should be the same.
    Mail (Attachment: xyz.xml)
    Please can somebody suggest me how to achieve this.
    Thanks,

    Hi,
    Please refer the blogs given which help you a lot regarding your requirement.
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems

  • Excel can't open Personal.xls

    I have Office 2013 on Windows 8.1 but when I open Excel it says it can't open personal.xls.  If I press Alt-F11 the VBA screen opens but there is no sign of personal.xls. The file exists and is in the folder C:\Users\Lorne\AppData\Roaming\Microsoft\Excel\XLSTART
    with no obvious errors (like read only flags).  That folder exists in the trusted locations screen and all the macros in personal.xls are digitally signed by my own personal signature which is also in the trusted publishers list.
    If I continuously open and close Excel after 5 or 6 tries it eventually opens normally and all my macros magically reappear !
    Any ideas what I should be looking for?  It is a recent problem - Excel had been working normally for well over a year since I last changed anything in personal.xls.
    Lorne

    Can you remember the changing you've done in last time?  add the content, modify the coding or even change the option?
    In Excel 2013, if the add-ins or macros runs slowly when the file initial opened, it will be disabled automatically by Excel itself and block the normal behavior. Thus, please go to File > Options > Add-ins, check whether there is anything in
    disalbled status. Enable it manually.
    In other hands, I would like to know how the personal.xls was created initially. If it was created by Excel 2003 or even earlier Excel version, I recommand that we save as it in the new version of Excel as xlsx format when it opens normally.
    The worst choice is, open the original file, copy and paste the content sheet by sheet to the new creating XLS/XLSX file to solve it. Thanks. 
    Tony Chen
    TechNet Community Support

  • Opening a text file in a bundle with C++

    Hi folks! I'm working with bundles for the first time, and I'd like to know how to open a text file inside one with C++. What I have now is this:
    ifstream file = new ifstream(fileName.c_str());
    if (!file->is_open())
    return false;
    Where fileName is a std::string. This is the way I'm accustomed to opening files (I'm from a Windows development background -- don't hate me! ). Unfortunately, the is_open() test always fails.
    I know how to get the path of the bundle. Once I add on my data subdirectory and file name, the fileName variable ends up as this:
    /Users/sb/...project location.../Debug/MyProg.app/data/Dev Options.ini
    Should the path be different somehow? Thanks for any help!

    Your data folder most likely isn't directly inside the .app bundle. The first directory inside an .app bundle is named Contents. The article at the following URL should help you:
    http://www.meandmark.com/bundlespart1.html
    If you're going to use C++ streams to open files, you'll want to ignore the section on opening the file in Part 3 of the article. You'll want to read up on the Core Foundation CFURL functions. You'll want to use one of the functions that gives you a path to the text file that you can pass to a C++ file stream.

  • Opening MS-Office files

    Hi,
    I installed MS Office 2004 on my iMac (intel). But now, when I open any Office file (.doc, .xls, ...) by double-clickin on an icon, they are associated with a "trial" version of MS Office. How can I change it, so that files are opened with the "right" Office version (not the trial one) ?
    Thanks

    Hi Pepol,
    Well you can right-click (or control-click) on the file in question. From there select Get Info. Once that window opens look for the combo box below Opens With. Then select the installed version of Office as the default application. Repeat the process for all the Office fomatted file types.
    Jrsy

  • How to open a specific file in projector.

    Hi to all
    can any body tells me that how to open a specific file in
    projector with an application not in browser????
    and also want to add a button to mute the sound just like in
    intros with fade in and out effect.
    its urgent....
    Thanks in advance

    Hi,
    You can use FlashJester JStart
    http://jstart.flashjester.com
    that will open up any file the has been associated in Window
    Explorer.
    Download a FREE evaluation copy and try it for yourself.
    Please look at the example files given.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

Maybe you are looking for