Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

i have recently come

Forum home » Delegate support and help forum » Microsoft Excel Training and help » I have recently come across that the program would not accept th

I have recently come across that the program would not accept th

ResolvedVersion 2010

shail has attended:
Excel VBA Intermediate course

I have recently come across that the program would not accept th

I have recently come across that the program would not accept the variable and it would not let me move cursor(yellow) down the lines when pressed F8. however the same programme could be run from another spreadsheet. do you think i have accidently switched off some function?

RE: I have recently come across that the program would not accep

Hello Shail,

Thank you for your question. I assume that you have enabled Option Explicit and that you have declared the variables correctly. When you say that the code runs fine in another spreadsheet, does the other spreadsheet contain similar data?

In the spreadsheet where F8 doesn't work, does it not work at all or does it run down to a certain line and then stop?

Does your F8 key usually step through code without problems?

Kind regards
Marius Barnard
Excel Trainer

Excel tip:

Changing Excel file and worksheet defaults

The appearance of any new Excel files or any new worksheets that are inserted into a file are controlled by two template files, Book.xlt and Sheet.xlt.

By opening, modifying and saving these templates you can change the default settings for all new files and/or all newly inserted sheets.

Use Book.xlt to make change to defaults for new workbooks; and Sheet.xlt to change defaults for sheets.

If you can't find either of these files on your computer, you can create and save them yourself.

You can do this simply by creating a new workbook with the setting you want to use as your defaults; then saving them with the appropriate name in the XLStart folder. If you are using Office 2003, this is usually found in C:\Program Files\Microsoft Office\Office11\XLStart.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.