Kamis, 19 Mei 2011

[ExcelVBA] Re: VBA/Macro Version problem

 

Hi

A simple test works fine for me

Sub foo()

Irow = 10

For i=1 to irow

Next i

End sub

Is the "option explicit" the first line of module? ---- that would make
it so variables had to be declared.

But it would work the same in 2003,2007,2010 ---- so the difference would
still by a mystery.

Pull up tools>options on the vba menu and see if "variable declaration
required" is checked.

If it is, unset it --- and try.

Db

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
MARKETPLACE

Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.


Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar