Remove control characters in txt file (saved from Excel)

Hi,
I have a txt file that contains invisible control characters and I want to remove those characters. I've been thinking of 2 options
1/ Get the content of the file into a string, then go through each character and basically takes only alphanumeric, new lines, Alt+Enter character (character that is created in txt files in Excel that breaks line). With this approach, I'm stuck on getting the character code for Alt+Enter so if anyone could point out. That helps a great deal.
2/ Use some pattern matching {ctrnl} or something to remove all control characters. I've tried this approach and it didn't work for me.
Please help me with this problem. Any help or suggestion is greatly appreciated.

(saved from Excel) Why not save it as csv?
trivektor wrote:
With this approach, I'm stuck on getting the character code for Alt+Enter so if anyone could point out. That helps a great deal.
You can figure that out with a hex editor or just write a small app that prints int values for each byte, not character, and print the file.
Presumably you already found the Character class and its methods.
Edited by: jschell on Sep 22, 2008 4:29 PM

Similar Messages

  • AppleScript puts control characters in txt file, inflating it enormously

    Hi all,
    I've come across a strange problem. I have an AppleScript file that puts up a dialog box at regular intervals asking me to write down what I am doing (to create an activity log). The file is saved to my Documents folder. This has been working just fine for several months (years), and now, all of a sudden, AppleScript fails on me. The reason is, the log file is inflated out of proportions because it contains hidden control characters (gremlins) between each letter and zillions of them between words and lines. Opening one of these files makes TextEdit go crazy ('Application not responding'). I discovered these gremlins when I opened the document in Classic mode with Word 5 (the best application ever to have been produced by MS, which allows me to remove them and make the file palatable to TextEdit again).
    But that doesn't solve the problem: Every entry continues to be inserted with another load of gremlins, and I can't understand why. I deleted preferences both for TextEdit and AppleScript, and I performed regular disk maintenance.
    TextEdit is set to save plain text files, end-of-line is Macintosh style, character set is Western Mac OS Roman. It's always been like this before when it worked ok.
    Any ideas?
    Thanks in advance.
    G4 MDD 1.25 GHz, 768 MB RAM Mac OS X (10.3.9)

    The solution to my problem can be found in the AppleScript forum here:
    http://discussions.apple.com/message.jspa?messageID=2353871
    With many thanks to reese_, who provided the solution, and to Tom, who directed me there!

  • Issue in .txt file saving from .xls to .txt

    Hi,
    I am downloading output in to excel sheet. when i am downloading excel data into tabdelimited.txt file i am getting '  "  ' in text file but in excel i am not getting this .
    anybody can tell me how to fix this issue. Initially i have to download the data into excel sheet only this is my requirement.
    Thanks,
    Maheedhar

    Hi,
    Excel normally does this if there is an embedded delimiter within the cell, i.e. a comma within the text and you are delimiting by a comma. Try using a TAB delimiter and you are less likely to see this.
    Darren

  • Can't open files saved from Safari

    In SL, I have a new problem with files that are saved from Safari.
    I first noticed it with an Automator service I made, which took selected text and made a text file out of it. But I eventually discovered the problem seemed to be with Safari. Any time Safari saves a file -- if for example, I click a link and it downloads a .zip file, then there is something wrong with that file that prevents me from opening it in another app.
    When I try to open the saved file, either by double-clicking in the Downloads window or from the Finder, the target app just starts bouncing in the dock and never opens. I have to force-quit it. If the target app is already open, it switches to it but never opens the document.
    This is only for files that were saved by Safari. Other PDF's and zip's open just fine.
    And, if I manually launch the target app, and then go to Open... and navigate to the saved document, I can open it fine.
    Files saved from Safari seem to have something wrong with them. If I quit Safari, logout, or even reboot, they still refuse to open by double-clicking.
    What could be causing this?

    Reset safari
    Safari/Reset Safari
    Go to Your HD/Library/Internet Plug-ins/ and remove to trash the "AdobePDFViewer.plugin".
    Open Safari and a .pdf and it should now open with Preview in a Safari/Browser window.
    If not then re download
    http://get.adobe.com/uk/reader/

  • How can I completely remove iTunes and all associated files/programs from my Windows PC?

    How can I completely remove iTunes and all associated files/programs from my Windows PC?

    iTunes, along with Quick Time, iCloud, Apple Software Update, Bonjour, Apple Mobile Device Support and Apple Application Support can all be removed from your PC by uninstalling them using 'Uninstall or change a program' in Control Panel. The only obvious thing that will be left behind is your iTunes library which remains untouched. If you want to remove that as well it's just a question of deleting it.
    Hope that helps.

  • Acrobat 9.0 Standard. Setting PDF file password from Excel VBA

    Acrobat 9.0 Standard. Setting PDF file password from Excel VBA
    Hi: I am trying to find a call to set the password of a PDF file that I am creating from Excel Workbook using a VBA call.
    I basically have this Excel VBA code that works fine and creates a file.
                pBook.PrintOut Copies:=1, preview:=False, ActivePrinter:="Adobe PDF", _
                               PrintToFile:=True, collate:=True, PrToFileName:=PSFileName
                ' Convert the postscript file to .pdf
                Dim myPDF As PdfDistiller
                Set myPDF = New PdfDistiller     
                myPDF.FileToPDF PSFileName, "", ""
    BUT, I need to set the password on this PDF file and do not see an option to do so.
    Can you provide a solution for this situation? Appreciate your response in advance.
    Thanks.

    There is no way to set password programmatically using any other dll or any other kit?
    I am creating a bunch of PDF files for users programmatically but then they have to go in and set password themselves? This is very inconvenient for users.

  • CS6 AI Cannot open a file saved from CS5 AI

    Had tried to save and rename the file and place in the local C: harddrive, filename only English letters. Doesn't work.
    Had uninstalled completely the CS6 Master collection and CC cleaner tools and reinstall the CS6 again, but problem still there.
    Using Win8.1 Pro 64bit desktop at home.
    Acrobat X Pro can open the AI file !
    I am going to reinstall back the old version CS5 Design Premium to keep my work going on.
    Is there a solution for this problem up to now ?
    Below are the message from the log file after clearner
    Gen_WWCombined-en_US-20121017_1230
    [Thu Feb 26 20:00:36 2015] Please enter (y) for Yes or (n) for No. ... >>
    [Thu Feb 26 20:00:40 2015] Choose from one of the following options to clean up :
    [Thu Feb 26 20:00:40 2015] 1.  All
    [Thu Feb 26 20:00:40 2015] 2.  Adobe Flash Player 10.2
    [Thu Feb 26 20:00:40 2015] 3.  Creative Cloud 2014 , Creative Cloud & CS6 Products
    [Thu Feb 26 20:00:40 2015] 4.  Creative Cloud 2014 only
    [Thu Feb 26 20:00:40 2015] 5.  Creative Cloud only
    [Thu Feb 26 20:00:40 2015] 6.  CS6 only
    [Thu Feb 26 20:00:40 2015] 7.  CS5-CS5.5-CS6
    [Thu Feb 26 20:00:40 2015] 8.  CS5-CS5.5
    [Thu Feb 26 20:00:40 2015] 9.  CS3, CS4
    [Thu Feb 26 20:00:40 2015] 10.  Adobe Id credentials
    [Thu Feb 26 20:00:40 2015] 11.  Quit
    [Thu Feb 26 20:00:40 2015] Choice :>
    [Thu Feb 26 20:00:43 2015] User selected: All
    [Thu Feb 26 20:00:43 2015] Opened DB connection with path: C:\Program Files (x86)\Common Files\Adobe\caps\pdb.db
    [Thu Feb 26 20:00:43 2015] DB does not exist at: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
    [Thu Feb 26 20:00:43 2015] Opened DB connection with path: C:\Program Files (x86)\Common Files\Adobe\caps\caps.db
    [Thu Feb 26 20:00:43 2015] Orphan session will be removed : adbeadbeadbeadbeadbeadbeadbeadb
    [Thu Feb 26 20:00:43 2015] ..
    [Thu Feb 26 20:00:43 2015] Removing entries from the installer database
    [Thu Feb 26 20:00:43 2015] Updated tsInstalled status to 0 for removal from 2 for installation in the table ribs_collection_paylaod for session adbeadbeadbeadbeadbeadbeadbeadb
    [Thu Feb 26 20:00:43 2015] Updating installState
    [Thu Feb 26 20:00:43 2015] Removing content of Product : AdobeColorVideoProfilesCS CS4, Version : 2.0
    [Thu Feb 26 20:00:43 2015] Warning: Payload with ID : {4F3CE025-D60B-4E6B-8D39-B04CD3769008} does not have an InstallDir value. Deletion of patch files (if any) may not happen.
    [Thu Feb 26 20:00:43 2015] Deleting the paylaod: {4F3CE025-D60B-4E6B-8D39-B04CD3769008} from the table ribs_payload and other associated tables for payloads
    [Thu Feb 26 20:00:43 2015] Removing content of Product : AdobeColorVideoProfilesAE CS4, Version : 2.0
    [Thu Feb 26 20:00:44 2015] Warning: Payload with ID : {8D71D024-447A-4B6F-A9CD-58443FFC43C4} does not have an InstallDir value. Deletion of patch files (if any) may not happen.
    [Thu Feb 26 20:00:44 2015] Deleting the paylaod: {8D71D024-447A-4B6F-A9CD-58443FFC43C4} from the table ribs_payload and other associated tables for payloads
    [Thu Feb 26 20:00:44 2015] Removing content of Product : AdobeColorCommonSetRGB, Version : 2.0
    [Thu Feb 26 20:00:44 2015] Warning: Payload with ID : {AB8E4534-C573-4CC9-BA6A-76DD14055510} does not have an InstallDir value. Deletion of patch files (if any) may not happen.
    [Thu Feb 26 20:00:44 2015] Deleting the paylaod: {AB8E4534-C573-4CC9-BA6A-76DD14055510} from the table ribs_payload and other associated tables for payloads
    [Thu Feb 26 20:00:44 2015] Removing content of Product : AdobeMotionPicture CS4, Version : 2.0
    [Thu Feb 26 20:00:45 2015] Warning: Payload with ID : {D798A6B1-4964-4B96-A032-3E29C8344C2F} does not have an InstallDir value. Deletion of patch files (if any) may not happen.
    [Thu Feb 26 20:00:45 2015] Deleting the paylaod: {D798A6B1-4964-4B96-A032-3E29C8344C2F} from the table ribs_payload and other associated tables for payloads
    [Thu Feb 26 20:00:45 2015] finished updating installState
    [Thu Feb 26 20:00:45 2015] Deleting session: adbeadbeadbeadbeadbeadbeadbeadb from ribs_collection and other associated tables
    [Thu Feb 26 20:00:45 2015] Updating caps schema pcd_meta to 2 if earlier version is less than 2
    [Thu Feb 26 20:00:45 2015] ..
    [Thu Feb 26 20:00:45 2015] Entries from the installer database have been removed
    [Thu Feb 26 20:00:45 2015] Sessions folder will be removed.
    [Thu Feb 26 20:00:45 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:45 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:45 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:45 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:45 2015]
    [Thu Feb 26 20:00:45 2015]
    [Thu Feb 26 20:00:45 2015] List of products installed on this machine
    [Thu Feb 26 20:00:45 2015] Listing products for cleanup:
    [Thu Feb 26 20:00:45 2015] Please enter the option number of the product you wish to remove; enter (q) to quit ... >>
    [Thu Feb 26 20:00:50 2015] Are you sure you want to clean all the listed products and associated files?
    [Thu Feb 26 20:00:50 2015] Type (y) to confirm and remove or (n) to quit ... >>
    [Thu Feb 26 20:00:55 2015] Please wait for Adobe Creative Cloud Cleaner Tool to finish........
    [Thu Feb 26 20:00:55 2015] :: Cleaning-up left over inventories ::
    [Thu Feb 26 20:00:55 2015] Inventory: 'uninstallts', Type: RIBS, Action: Delete
    [Thu Feb 26 20:00:55 2015] Atleast one Non-RIBS Inventory : False, Atleast one AAMRef: False
    [Thu Feb 26 20:00:55 2015] ::Start:: Removing AUM contents
    [Thu Feb 26 20:00:55 2015] Deleting registry root:HKLM key:Software\Microsoft\Windows\CurrentVersion\Run value:AdobeAAMUpdater-1.0
    [Thu Feb 26 20:00:55 2015] Exception during deleting key : (2, 'RegDeleteValue', 'The system cannot find the file specified.')
    [Thu Feb 26 20:00:55 2015] Deleting registry root:HKLM key:Software\Microsoft\Windows\CurrentVersion\Run value:ADOBE_UPDATER_STARTUP_UTILITY
    [Thu Feb 26 20:00:55 2015] Exception during deleting key : (2, 'RegDeleteValue', 'The system cannot find the file specified.')
    [Thu Feb 26 20:00:55 2015] Deleting scheduled task : AdobeAAMUpdater-1.0-SamHomePC-Sam
    [Thu Feb 26 20:00:55 2015] Executing command: schtasks /delete /TN "AdobeAAMUpdater-1.0-SamHomePC-Sam" /F
    [Thu Feb 26 20:00:55 2015] ERROR: The system cannot find the file specified.
    [Thu Feb 26 20:00:55 2015] Deleting scheduled task : AdobeUpdater Task-SamHomePC-Sam
    [Thu Feb 26 20:00:55 2015] Executing command: schtasks /delete /TN "AdobeUpdater Task-SamHomePC-Sam" /F
    [Thu Feb 26 20:00:55 2015] ERROR: The system cannot find the file specified.
    [Thu Feb 26 20:00:55 2015] ::Finish:: Removing AUM contents
    [Thu Feb 26 20:00:55 2015] ::Start:: Removing OOBE
    [Thu Feb 26 20:00:55 2015] Executing command "taskkill /F /FI "IMAGENAME eq AAM Updates Notifier.exe""
    [Thu Feb 26 20:00:55 2015] INFO: No tasks running with the specified criteria.
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] ::Finish:: Removing OOBE
    [Thu Feb 26 20:00:55 2015] Removing content of Product : CS5Installer, Version : CS5
    [Thu Feb 26 20:00:55 2015] Deleting file : C:\Program Files (x86)\Common Files\Adobe\caps\pdb.db
    [Thu Feb 26 20:00:55 2015] File does not exist: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] LOG FILE SAVED TO: C:\Users\Sam\AppData\Local\Temp\Adobe Creative Cloud Cleaner Tool.log
    [Thu Feb 26 20:00:55 2015] Adobe Creative Cloud Cleaner Tool completed successfully
    [Thu Feb 26 20:00:55 2015]
    [Thu Feb 26 20:00:55 2015] *-*-*-*-*-*- ::START:: - SUMMARY OF Warnings -*-*-*-*-*-*
    [Thu Feb 26 20:00:43 2015] DB does not exist at: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
    [Thu Feb 26 20:00:45 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:45 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:45 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:45 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] Warning: Failed to remove file,folder trying again
    [Thu Feb 26 20:00:55 2015] Warning: Failed again to remove file,folder
    [Thu Feb 26 20:00:55 2015] *-*-*-*-*-*- :: END :: - SUMMARY OF Warnings -*-*-*-*-*-*
    [Thu Feb 26 20:00:55 2015] ---------------------------------------------------------
    [Thu Feb 26 20:00:55 2015] *=*=*=*=*=*=*=*=* :: End Session :: *=*=*=*=*=*=*=*=*=*=*
    [Thu Feb 26 20:00:55 2015] ---------------------------------------------------------

    Hi Peter,
    I'm guessing it might have been a network corruption problem. She brought in her laptop, we made another .idml file and loaded it to a USB stick, then transferred it to my computer. The file opened just fine. And yes, she had pasted all her images, so we have her collecting the bits and pieces for me to review and relink everything. I believe I have the patch, but will double-check. Thanks!

  • How to remove balnk line on txt file??

    Anyone can help me please?
    Tks,
    Elber.

    may be this helps??
    How to Delete a line from a file?
    http://unix.ittoolbox.com/groups/technical-functional/shellscript-l/removing-last-line-from-a-txt-file-798004

  • Refresh data in SWF based on excel file saved from SAP BW workbook

    Hi, is there a way to get data refresh in SWF dashboard from excel file as a data source. SAP BW workbook report will be saved as an excel file daily and placed in somewhere. I would like to create a dashboard which can connect to the excel data source and refresh on load.
    Appreciate your advice and help. Thank you.
    I am using Xcelsius 2008 and SAP BI 7.0

    Thank you.
    If I understand correctly from your advice, that is I should create QaaWs to pull data from SAP BI, which will return data in tabular format. Map the data in the cell range of a hidden tab, re-arrange and format the data into the row?
      Another concern: I need to display data for 4 quarters (Q1, Q2, Q3,Q4) in the dashboard, but QAAWS will only pulls data when the data is available in the database.
       Eg. Only data for 3 quarters are found in the database, QAAWS will return data for Q1, Q2,Q4.
             This will mess up the position fixed in the xcelsius. Do you have any suggestion on this?
       Sorry to bother u for the simple questions.
       Thank you.

  • Files with embedded profiles shown as untagged in Bridge.Bridge only right about files saved from PS

    Photoshop works perfectly when saving files as .psds etc. or PDF-Standards (PDF-X etc.), embedding the profiles correctly. However, InDesign and Illustrator do not embed any colour profiles in .pdfs, in their native formats (.indd and .ai) or any other format apart from .jpg.
    Why is Photoshop working perfectly, yet AI and INDD are not? Everything was installed at the same time, and the colour management settings are all synchronised in bridge.
    All I want to be able to do is save as one of the default PDF-X settings (via File > Save As in Illustrator), but as I said, saving as the same PDF-X standard across all 3 programs only embeds the profile if saved from Photoshop. I don’t have the slightest clue why Photshop is the only one that works.
    Although, according to this post, which seems very similar to my question, it might be Adobe Brdige CS5 that is wrong: http://forums.adobe.com/message/3565578
    Because I have files that Bridge shows as untagged, which upon opening do in fact have an embedded colour profile. Ugh, this stuff is confusing!

    Thanks so much for your help, I didn't know any of those things. Very interesting.
    In regards to Photoshop rasterizing PDFs, what exactly are the ramifications of that? A PDF-X saved from Photoshop is still fine to send to the print press, right?
    So far, all the print work I do I design in the colour space specified by my printer, then save as a PDF-X1a (which is also what they specify), by doing 'Save As' in Illlustrator. I also name the file with the colour space, and my printer has not had any problems with this.
    The reason I'm asking about colour management, is that I may start expanding into the area of designing adverts for newspapers and magazines, and this involves different colour spaces. And newspapers etc. around here won't be as fussy about colour management as my print-press, which is a very good print company. So it would be better if I knew they were getting PDFs from me with embedded colour profiles.
    I think the situation is that when I save things with embedded profiles, that it does in fact work, despite what Bridge, Illustrator and InDesign say. I have .ai files that show up in Bridge as untagged, but when opened in Illustrator, do indeed have an embedded colour profile.
    It's very confusing to know what's going on.
    A rather non-technical workaround, which alot of people seem to use, is just designing the file in the correct colour space, saving the file in that colour space, naming the file with that colour space, and then when it gets to the printer/magazine/newspaper etc. hoping that (A) there is colour profile data in the file that people can see at the destination or (B) the people at the destination know from the file name that you designed it in the correct space, and so they just Assign Profile at their end, and all is well.
    I mean, what's the alternative, I can't suddenly stop using Illustrator and InDesign, and doing ALL my work in Photoshop, just because of what Bridge says!

  • How can I have a csv file read from excel to labview.

    Hi,
    I would like to read multiple csv files from excel to labview, creating a duplicate of the tables in excel, which would allow me to then draw some graphs for data analysis and comparison between the two.
    Are there any examples that could be useful to what I am trying to do?
    Thanks

    Patel33 wrote:
    From one of the csv files, I only require 3 of the columns. Is there a way to only read that part of the csv file?
    No. The characters in a file are just one long string and delimiters and linefeeds are special characters that defined where fields and lines start and end. As such, columns are interlaced into the file and consists of many small sections, where the position depends on the number of characters in each field, which is typically variable. You really need to read the entire file, then only look at the interesting columns later.
    LabVIEW Champion . Do more with less code and in less time .

  • How can I write waveform data to a txt file or an excel sheet?

    I want have a table that I can follow up in excel. In first column should be the timestamp (in ms or better in us), in the second column should be the value. I made an effort but it doesn´t work.
    Attachments:
    PWMReadWrite.vi ‏167 KB

    Yes, you must change block (Get Date/Time String.vi).
    You must write new subVI - this new VI convert date and time to the second [or ms or us].
    First choice is: time column will be count of second [the better ms or best us] since 12:00 a.m., January 1, 1904, Universal time[function "Get Date/Time In Seconds.vi"].
    Text file:
    3216546154,000 0.000000
    3216546154,050 0.062791
    3216546154,100 0.125333
    Second choice is: first record in TXT file will be time when test start and after will be table with time [ms or us] and value.
    Text file:
    Start time: Monday 30-th February 2005.
    0,000 0.000000
    0,050 0.062791
    0,100 0.125333
    Have a nice day.
    JCC
    P.S.: I recommend you creat header of result table to text file.
    Text file:
    time [ms] U [V]
    3216546154,000 0.000000
    3216546154,050 0.062791
    3216546154,100 0.125333

  • Difference b/w Loading a Flat File made from EXCEL and NOTEPAD

    Hi
    Is there any difference in Loading a flat file made from MS-Excel and Note Pad. Imean performance or errors etc....
    GSR

    S R G,
    Theres no much difference only that when loading from excel we store excel in CSV format.  In notepad we use seperators like comma aand write one row at a time, then next....
    Rest everything is same...
    thats y it is preferable to load from excel as it is easier to represent and create...

  • .xlsm File use from Excel 2013 64bit/Win7 64bit to Excel 2013 32bit/Win8.1 64bit - Component Removed (not API related)

    Work Environment:  Excel 2013 64bit/Win7 64bit
    Home Environment: Excel 2013 32bit/Win8.1 64bit (1 desktop and 1 laptop)
    I am developing an an .xlsm file at work (with Lists and a single form with controls linked to a worksheet ControlSource). It works and saves all day long just fine in my work environment. I save the file to either a USB drive (or DropBox - makes no difference)
    and then open the file on my home computer. I can open the file the first time with no problem and with no error messages. But then when I try to save the file Excel 2013 32bit most often tells me that it has removed a component. But it doesn't tell which
    component it has removed. After that, if I close the file and try to reopen it, it won't reopen. I get a series of error message: [1] file path errors (error 75) [2] Excel has stopped working errors. [3] Excel hasn't enough memory to complete the operation,
    [4] Excel will close. So I click the close button on the last error message and Excel disappears. I say disappears, because its not really gone. Mind you, its not listed in the Task Manager at this point. But, if I then click the Windows Taskbar icon to start
    Excel, Excel will sometimes automatically open up with the file that I was trying to open before, already up and running, i.e. I do not select the file to open it - it just appears. Other time Excel just repeats the series of error messages noted above.
    The strange part is, once this file has been corrupted, I can still take it back to my work environment, fire it up on my work computer, and it works just fine. No error messages, no saving problems.
    I have totally uninstalled and reinstalled Office 2013 (HUP Click to Run) on both my home computers and it makes no difference.
    I can say though, this is driving me nuts. Anyone have any suggestions or ideas?
    phillfri

    I think I solved the issue.
    Step 1: Moved all my code from the Worksheet_Open event to the Auto_Open Macro.
    Result: File would open from inside Excel but when opening by clicking on the file in Windows explorer I would get the error msg "There was a problem sending a command to the program."
    Step 2: Apply FixIt 20074. Note that to get this FixIt to work in Windows 8.1 you MUST save the FixIt file to your desktop and run it from there. If you follow the instructions on the FixIt page - download and run - you will get the error msg "This Fixit
    does not apply because the computer does not have the expected software (Excel.exe)."
    Excel 2013 definitely seems to have some bugs when starting a macro enabled file. I have seen other comments on the internet about the Excel workbook_open event actually failing to run all the VBA commands that are put into it.
    Environments:
    [1] Home: Microsoft HUP Click-n-Run Office Professional 2013; Windows 8.1, 64 bit; Excel 2013, 32 bit.
    [2] Work: Enterprise Microsoft Office Professional 2013; Windows 7, 64 bit; Excel 2013, 64 bit.
    phillfri

  • Default page size settings in TEXT FILES SAVED FROM MAIL

    I regularly save emails as rtf files (either with or without attachments) and sometimes return to print them with TextEdit.
    I'm in Ireland, where our standard paper size is as most European countries, i.e. A4.
    My 'Default Paper Size in Page Setup' is set in the Print & Fax pane in *System Preferences* as A4.
    If I select 'Page Setup...' in Mail to print direct from the Application, it defaults as you'd expect to A4.
    If I make a fresh text file with TextEdit, it also defaults to A4.
    But if I 'Save As...' from Mail and then open the resulting file in TextEdit (or Word, for example) I find it has been saved with a US Letter Page Setup. Can I change this setting? If so, where?

    I think I see where the confusion is.
    I'm not talking about file attachments (the 'Save Attachments...' function in the File menu). What I'm talking about is the saving of the email as an rtf file (the 'Save As...' function). When you select 'Save As...' there's a further pull-down menu for format that allows you to save it as one of 3 options: Rich Text Format, Plain Text OR Raw Message Source. I want to save it as Rich Text which preserves fonts, bold type etc.
    Mail clearly can create such files (I have several GB of saved emails that says so!) - what I want to figure out is if there's a way to control the way it sets the page size in those files as it does so.

Maybe you are looking for