Ready, steady… save!
You don’t need a chart to join in. Here are 2 ways to record your savings:
1. Cross it off
Pop a chart into your first post. Saved an amount? Cross it out! Read more »
£0.01 £0.02 £0.03
2. Write it down
Skip the chart and add updates to your first post. Read more »
“Another +£3 saved today. Go me!”
Use +£ before each new saving so it counts towards your total.
We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
EXCEL Coding required
Grumpy_Old_Duffer
Posts: 689
Forumite
in Techie Stuff
I have a macro in a file that opens an external file to extract data before closing the external file.
This external file has macros that automatically does things when opened, so, as I'm only looking to extract data from this file, I want some coding that when it's opened will automatically select the 'Disable Macros' on the dialogue box that opens when you open an EXCEL file.
Any ideas what the coding is I require?
This external file has macros that automatically does things when opened, so, as I'm only looking to extract data from this file, I want some coding that when it's opened will automatically select the 'Disable Macros' on the dialogue box that opens when you open an EXCEL file.
Any ideas what the coding is I require?
It has taken about 4,500,000,000 (4.5 billion) years for the Earth to form as it is now .........
and it'll only take about another 100 years for mankind to really **** it up!!!!
and it'll only take about another 100 years for mankind to really **** it up!!!!
0
Comments
-
Hi,
I have had a quick look through the VBA Object Browser but alas I struggle to find the solution you are looking for. It's probably glaringly obvious!!
This is one of the rare occassions that for speed I suggest you head over to PCAdvisor Click Here and checkout their helproom forum, they have a couple of members (VoG for one) whom will be able to answer your question. You will need to register (it's quick and simple), but don't spend too much of your time over there & get back here ASAP.
HTH
Tony
PS - I would like to see the solution once you have it, I suspect it will be something along the lines of application.dialog.....0 -
Grumpy_Old_Duffer wrote:I have a macro in a file that opens an external file to extract data before closing the external file.
This external file has macros that automatically does things when opened, so, as I'm only looking to extract data from this file, I want some coding that when it's opened will automatically select the 'Disable Macros' on the dialogue box that opens when you open an EXCEL file.
Any ideas what the coding is I require?
Hmmm tricky one...
I digged Google Group and I found this:
http://groups.google.co.uk/groups?hl=en&lr=&threadm=%237l3GO1CDHA.2316%40TK2MSFTNGP10.phx.gbl&rnum=9&prev=/groups%3Fq%3D%27Disable%2BMacros%27%2B%2Bvba%26hl%3Den
Also try here:
http://www.excelforum.com/
and
http://support.microsoft.com/default.aspx?scid=kb;en-us;317405&Product=xlw0 -
Found the solution......
Application.EnableEvents = False
"My Coding ....
Application.EnableEvents = TrueIt has taken about 4,500,000,000 (4.5 billion) years for the Earth to form as it is now .........
and it'll only take about another 100 years for mankind to really **** it up!!!!0
This discussion has been closed.
Categories
- All Categories
- 356K Banking & Borrowing
- 255K Reduce Debt & Boost Income
- 456.3K Spending & Discounts
- 248.5K Work, Benefits & Business
- 606.3K Mortgages, Homes & Bills
- 179.1K Life & Family
- 264.1K Travel & Transport
- 1.6M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.7K Read-Only Boards