excel personal file not working

toplad

New Member
Joined
Apr 12, 2015
Messages
19
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi,

Any ideas for this strange problem that's happening. I've got an excel personal file that works fine (able to run all the macros i have in it) when i open excel normally. However when it's opened by another program that drops some data into the first sheet the macros that are available normally isn't available for use. Its like it forgets to run the personal excel file when its opened this way. Annoying because i wrote the macro to be used with this data dump. Does anyone have any ideas why this might be happening?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Is the XLSB in the startup folder?

Code:
Debug.Print Application.StartupPath
Run and press Ctrl+G after to see result. Paste into Explorer (Win+E).
 
Upvote 0
Hi Ken, the personal is in the right location. i'm baffled as to why its doing it
 
Upvote 0
Have a look in your file associations, under the suffix for Excel files. See if there's any parameters in the start up string and remove them, there may be one that tells Excel to start in a secure mode (which stops macros running)

Also have a look at your trust centre settings, maybe one of those tells Excel to disable any macros when started remotely.

Just an idea or 2, it sounds like Excel is starting up in a secure mode of some sort.
 
Upvote 0
1. Just to be sure, make a simple macro in a Module.
2. Is the folder shared with those using it.
3. Last resort and maybe best anyway, make it into an AddIn.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top