Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I created the following module by doing a macro record. It works by running
it within the module but when I put in a project, I get a 1004 error on the range select. The xls file is visable while I am stepping (F8). I even did a call statement and get the same error and change the project from Private to Public. What am I missing? Workbooks.Open Filename:="C:\temp\jul 07.xls" Worksheets(2).Activate Range("B216:Y242").Select Selection.Copy John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
why stepping thru works differently module vs. worksheet | Excel Programming | |||
when to use a module & when to use a project | Excel Programming | |||
Import module in protected project? | Excel Programming | |||
Module Names within a Project | Excel Programming | |||
Remove VBA Project module | Excel Programming |