F
Frustrated_User_in_West_Virginia
I wrote a Macro to sort a range. The rows in the range
change from day to day. I can define the "boundrys" of the
range by two variables x and z.
I am declaring these as variant
I define x = Cells(I,3)and z = Cells(J,26)
I and J vary depending on the data source.
I can run this Macro when I have the data on one
spreadsheet, and it does what I wwant it to do.
When I insert this Macro on a Mega VB Macro I get an error
Message" Object Variable or With Block Variable not set"
I have consulted with several VB users in my company. They
can not find the error.
Avyone out ther knows what is the problem?
change from day to day. I can define the "boundrys" of the
range by two variables x and z.
I am declaring these as variant
I define x = Cells(I,3)and z = Cells(J,26)
I and J vary depending on the data source.
I can run this Macro when I have the data on one
spreadsheet, and it does what I wwant it to do.
When I insert this Macro on a Mega VB Macro I get an error
Message" Object Variable or With Block Variable not set"
I have consulted with several VB users in my company. They
can not find the error.
Avyone out ther knows what is the problem?