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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  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
  14. MarkBeck

    Code not executing

    Works a treat! Thank you skip. You are a star! I would love to become more proficient in VB. Is there a book you could recommend? I would be bugging less people here. I am in fiscal accounting, and act a financial controller to various companies. I feel that VBA would increase productivity for...
  15. MarkBeck

    Code not executing

    Hi I have a sheet that hides all but the Welcome Sheet on Opening. Then people enter a user name & Password, and it makes their sheet visible. I just now added a sheet called "Inv Usage" (Or sheet6), and i would like to display it ALL the time. So whoever opens the workbook see THEIR sheet...
  16. MarkBeck

    8/8 evaluated as DATE, Need $/$

    Thanks GlennUK! That littkle subtlety does the trick. Mark ExPat
  17. MarkBeck

    8/8 evaluated as DATE, Need $/$

    Bang on Dragon! Nothing replaces just simple common sense!
  18. MarkBeck

    8/8 evaluated as DATE, Need $/$

    Thanks Dragon Only adds a intiger to the date. If i just put in a cell "+6/8" it returns the fraction. I have tried various methods of getting a text string of +6/8 but it returns VALUE#

Part and Inventory Search

Back
Top