Link to home
Create AccountLog in
Avatar of Zack
ZackFlag for Canada

asked on

Excel VBA line not working

Hi All

   I installed Office 2003 on a reinstalled laptop (I'm the programmer) and tried running a program that runs on every other machine and it's erroring out on this line

      For Each ctl In Application.VBE.CommandBars.FindControls(ID:=varItem)

   Any idea why?

Thanks - Zack
ASKER CERTIFIED SOLUTION
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Zack

ASKER

It is.  There must've been something not installed with Excel or shared tools because I went into the setup and installed all Excel and all shared tools, etc and its now working.  Very weird...  Oh well, thanks though!

Zack