Hi All,
I'm new to the forum and to code. I've been struggling a variant of the code below. When I try to declare a variable like “cnt” and equate it to “Range(ActiveCell, ActiveCell.End(xlToRight)).Columns.Count” in the code below I get an error- 1004. I've listed both the code that works and does not work below. Can someone explain why the error is occurring. Thanks so much in advance.
Code that works
[b][b/]Please Login or Register to view this content.
Code that does not work
Regards, RichPlease Login or Register to view this content.
Bookmarks