+ Reply to Thread
Results 1 to 8 of 8

macro in Personal.xlsb not loading from existing .csv file

  1. #1
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    macro in Personal.xlsb not loading from existing .csv file

    I have macro in my PERSONAL.xlsb file that are available normally when I open a new Excel sheet. If I open a .csv file from File->Open, the macros are still available. However, when I open a .csv file directly from the desktop or from the folder it is located, the macros are not available. It looks like when loading a .csv direct from the desktop PERSONAL.xls does not load.


    Since iam trying to automate this process using an automation tool, i wanted to open the .csv file directly from it's location....

    Any help??

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: macro in Personal.xlsb not loading from existing .csv file

    It sounds like Excel is opening in Safe Mode, that is with the /s switch when you double click the CSV file to open it because the /s switch doesn't open files in the XLSTART folder and that is where personal.xlsb is usually kept.

    I don't see how this could be accomplished other than something has become corrupted in the file associations for CSV especially if other files with excel extensions open correctly. I would try a repair installation of Office in the Control Panel.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    Re: macro in Personal.xlsb not loading from existing .csv file

    Excel is not opening in Safe mode.

    Is there any way around other than re installing the program again..??

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: macro in Personal.xlsb not loading from existing .csv file

    I suspect that if Excel is not opening in Safe Mode, something is indicating that it is in Safe Mode and therefore not opening the Personal.xlsb

    A repair install is quite quick.

    Open the Control Panel
    Select Microsoft Office
    Select CHANGE
    Select REPAIR
    Click continue

  5. #5
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    Re: macro in Personal.xlsb not loading from existing .csv file

    FYI, iam able to open the personal.xlsb when i open a new worksheet, but not able to see the personal.xlsb file with the existing worksheets.

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: macro in Personal.xlsb not loading from existing .csv file

    That is why I have the feeling that there is something corrupted in the Excel installation.

  7. #7
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    Re: macro in Personal.xlsb not loading from existing .csv file

    I tried to repair/change, but no use.... the problem remains the same...

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: macro in Personal.xlsb not loading from existing .csv file

    Can you post a problem file? I'll see if my personal.xlsb opens with the file.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 01-15-2015, 05:53 AM
  2. [SOLVED] Run PERSONAL.XLSB macro when any Excel file is opened
    By Aaron092 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2014, 04:35 AM
  3. Close Excel event to use with personal.xlsb file
    By richard.wilson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2014, 05:28 PM
  4. cannot run macro if personal.xlsb is hidden
    By illusionek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2014, 08:16 AM
  5. Replies: 1
    Last Post: 08-08-2012, 09:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1