Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,564
- Office Version
- 365
- 2016
- Platform
- Windows
I have an unusual question, unusual in that it's based on what could be my imagination.
I have a macro (coded "application") that when executed hits a stop command when a particular situation occurs. That situation is when it tries to access data from a second workbook this is missing. Originally, so I vaguely recall, with the code stopped, I could go to the opened workbook with the missing data and manually enter it, save it, and then resume the code as if there had been no missing information. The code proceeds as though there was never any issue. I am certain I was doing that, but could be wrong. The code does not involve a userform at that point.
Now, when I'm executing my code and I reach that stop initiated when data is missing, I can go to the the missing data workbook, but I can no longer enter any information in the cells. It exhibits similar behaviour as if the worksheet was protected, which I confirm it is not. Cells with validation (lists) work, I can select content, I just can't type in values to any non validated cells.
Is the latter expected behaviour? Or should I be able to do what I thought I had been doing (second paragraph)? If this is doable, what could I have unintentionally done to suddenly lose that function?
I have a macro (coded "application") that when executed hits a stop command when a particular situation occurs. That situation is when it tries to access data from a second workbook this is missing. Originally, so I vaguely recall, with the code stopped, I could go to the opened workbook with the missing data and manually enter it, save it, and then resume the code as if there had been no missing information. The code proceeds as though there was never any issue. I am certain I was doing that, but could be wrong. The code does not involve a userform at that point.
Now, when I'm executing my code and I reach that stop initiated when data is missing, I can go to the the missing data workbook, but I can no longer enter any information in the cells. It exhibits similar behaviour as if the worksheet was protected, which I confirm it is not. Cells with validation (lists) work, I can select content, I just can't type in values to any non validated cells.
Is the latter expected behaviour? Or should I be able to do what I thought I had been doing (second paragraph)? If this is doable, what could I have unintentionally done to suddenly lose that function?