I am having trouble with a macro - it runs in one spread sheet but not another - is it the macro or the worksheet? Debug points to line "for each cell in range"
![]()
Please Login or Register to view this content.
I am having trouble with a macro - it runs in one spread sheet but not another - is it the macro or the worksheet? Debug points to line "for each cell in range"
![]()
Please Login or Register to view this content.
Can you upload an example workbook?
Click on GO ADVANCED and use the paperclip icon to open the upload window.
If posting code please use code tags, see here.
here you go
ctrl+shift+u to unlock hidden sheets
The error isn't on the For Each line it's on this line.
This part of the line returns a string and when you try to add the numeric value 14 to it you get the type mismatch error.![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
the +14 worked before - used to jump 14 cells down on schedule tablet sheet
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks