Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MarkBeck

  1. MarkBeck

    Macro treats appearantly "blank cells" as "not blank"

    Thanks GVF Thanks Skip. I think i understand, but will verify
  2. MarkBeck

    Macro treats appearantly "blank cells" as "not blank"

    Skip >Data > Create > List... feature Saw this after my posting. Where do I find that? (In Excel, "Data" is not sub-menu'ed by "Create", and in VBA I don’t see "data" at all?
  3. MarkBeck

    Macro treats appearantly "blank cells" as "not blank"

    Thanks Loomah Re MsgBox; I took the parenthesis out, but then "cancel" doesn’t cancel the action. It seems that I to evaluate the answer. What do I do?
  4. MarkBeck

    Macro treats appearantly "blank cells" as "not blank"

    Thanks Skip. My problem with "CurrentRegion" is that column "C" has a formula that spans "C16:C39", and there are some Footer notes too. So it copies a larger area then is required in the "Central sheet". But if D:F are empty, "C" returns [""]! (And "D" is a reliable column to test for the...
  5. MarkBeck

    Macro treats appearantly "blank cells" as "not blank"

    Hi The code below takes data from individual work cards (i.e., sheets("AD") below), and transfers it to a "central" sheet. Although the entire card is copied and pasted [Range("C16:P39")], not all lines are actually populated. The next paste looks for the first blank line in the "central" sheet...
  6. MarkBeck

    Blank lines not "blank", creats many empty lines.

    Hi The code below takes data from individual work cards (i.e., sheets("AD") below), and transfers it to a “central” sheet. Although the entire card is copied and pasted [Range("C16:P39")], not all lines are actually populated. The next paste looks for the first blank line in the “central” sheet...
  7. MarkBeck

    unexpected debugging issue. Worked fine for ages.

    OK. It seems a user sheet I had added, somehow contrived to cause all this. I have deleted the sheet and redid it. All is now fine. For the sake of clarity, here is the only other piece of code that could have somehow affected this (perhaps by not closing properly last time around) Sub...
  8. MarkBeck

    unexpected debugging issue. Worked fine for ages.

    PHV Runtime error 1004 Unable to set the Visible property of the Worksheet class.
  9. MarkBeck

    unexpected debugging issue. Worked fine for ages.

    Skip. Copied and pasted your code. Same result. I tried xlsheetHidden, VeryHidden. No result.
  10. MarkBeck

    unexpected debugging issue. Worked fine for ages.

    I dont know. I found no declaration for it. I assumed that its a VBA shortcut for 'sheet'. Besides. If that would have been the problem, the debugger would have kicked in at any of; For Each sh In Sheets If sh.Name <> "Welcome
  11. MarkBeck

    unexpected debugging issue. Worked fine for ages.

    >Multiple Tried with and without. No result. >Personal.xls Recorded a simple macro to the Personal file. Its exists in the VBA. Again, no result. Thanks for your efforts Skip. Mark
  12. MarkBeck

    unexpected debugging issue. Worked fine for ages.

    Hi Skip. I added a statement "Sheets("welcome").Select", to get me there first. Unfortunately the debugger still kicks in a the same spot. I should point out that this code worked well for 2 years! I cant for the life of me think of what would have changed. Mark
  13. MarkBeck

    unexpected debugging issue. Worked fine for ages.

    Hi all Here is my code Sub HideSheets() For Each sh In Sheets If sh.Name <> "Welcome" Then sh.Visible=xlVeryHidden Next sh Sheets("Welcome").Range("a1").Select End Sub This worked fine for ages. Suddenly there is this debugger kicking in. Can anyone spot why? Mark

Part and Inventory Search

Back
Top