Data is coming into a worksheet, and from a macro, I determine the range
using Selection.CurrentRegion.Select, I then .Add Name, but the macro is
setting the range. I want the range to change each time the macro is run.
Data is coming into a worksheet, and from a macro, I determine the range
using Selection.CurrentRegion.Select, I then .Add Name, but the macro is
setting the range. I want the range to change each time the macro is run.
Hard to say what the problem is without seeing your code.
Perhaps
Range("A1").CurrentRegion.Name = "Data1"
--
Regards,
Tom Ogilvy
"TeeSea" <[email protected]> wrote in message
news:[email protected]...
> Data is coming into a worksheet, and from a macro, I determine the range
> using Selection.CurrentRegion.Select, I then .Add Name, but the macro is
> setting the range. I want the range to change each time the macro is run.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks