Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't have XL97, but I am willing to bet its macro language is
significantly different from the XL2003 that I am using.... obviously since the code I posted works fine on my system. Hopefully someone knowledgeable about XL97 will come by to answer your question. For future reference, always mention the version of XL you are using when asking questions in the Excel newsgroups. Rick "CLR" wrote in message ... Thanks Rick, I'm able to step through the sheets ok, just having trouble with the "check for visibility test" I replaced my If ActiveSheet.Visible = False Then with your If Not WS.Visible Then but that seems to act the same I'm using XL97 if that makes a diff....... Vaya con Dios, Chuck, CABGx3 "Rick Rothstein (MVP - VB)" wrote: See if this code snippet helps you... Dim WS As Worksheet For Each WS In Worksheets If Not WS.Visible Then Debug.Print WS.Name & " is hidden." End If Next Rick Am trying to step through sheets, and if one is hidden, so indicate.... This line don't seem to work If ActiveSheet.Visible = False Then "DoThis" Else "DoThat" Endif Any suggestions please? Vaya con Dios, Chuck, CABGx3 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't have XL97, but I am willing to bet its macro language is
significantly different from the XL2003 You'd lose that bet. XL97 used VBA5 and XL2000+ uses VBA6. The only differences I can thing of are that VBA6 supports modeless forms and has the Split and Join functions. Beyond that, they are more or less identical. -- Cordially, Chip Pearson Microsoft MVP - Excel, 10 Years Pearson Software Consulting www.cpearson.com (email on the web site) "Rick Rothstein (MVP - VB)" wrote in message ... I don't have XL97, but I am willing to bet its macro language is significantly different from the XL2003 that I am using.... obviously since the code I posted works fine on my system. Hopefully someone knowledgeable about XL97 will come by to answer your question. For future reference, always mention the version of XL you are using when asking questions in the Excel newsgroups. Rick "CLR" wrote in message ... Thanks Rick, I'm able to step through the sheets ok, just having trouble with the "check for visibility test" I replaced my If ActiveSheet.Visible = False Then with your If Not WS.Visible Then but that seems to act the same I'm using XL97 if that makes a diff....... Vaya con Dios, Chuck, CABGx3 "Rick Rothstein (MVP - VB)" wrote: See if this code snippet helps you... Dim WS As Worksheet For Each WS In Worksheets If Not WS.Visible Then Debug.Print WS.Name & " is hidden." End If Next Rick Am trying to step through sheets, and if one is hidden, so indicate.... This line don't seem to work If ActiveSheet.Visible = False Then "DoThis" Else "DoThat" Endif Any suggestions please? Vaya con Dios, Chuck, CABGx3 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
LOL... OK, bad guess on my part. I figured 6 years was a long time between
versions. Rick "Chip Pearson" wrote in message ... I don't have XL97, but I am willing to bet its macro language is significantly different from the XL2003 You'd lose that bet. XL97 used VBA5 and XL2000+ uses VBA6. The only differences I can thing of are that VBA6 supports modeless forms and has the Split and Join functions. Beyond that, they are more or less identical. -- Cordially, Chip Pearson Microsoft MVP - Excel, 10 Years Pearson Software Consulting www.cpearson.com (email on the web site) "Rick Rothstein (MVP - VB)" wrote in message ... I don't have XL97, but I am willing to bet its macro language is significantly different from the XL2003 that I am using.... obviously since the code I posted works fine on my system. Hopefully someone knowledgeable about XL97 will come by to answer your question. For future reference, always mention the version of XL you are using when asking questions in the Excel newsgroups. Rick "CLR" wrote in message ... Thanks Rick, I'm able to step through the sheets ok, just having trouble with the "check for visibility test" I replaced my If ActiveSheet.Visible = False Then with your If Not WS.Visible Then but that seems to act the same I'm using XL97 if that makes a diff....... Vaya con Dios, Chuck, CABGx3 "Rick Rothstein (MVP - VB)" wrote: See if this code snippet helps you... Dim WS As Worksheet For Each WS In Worksheets If Not WS.Visible Then Debug.Print WS.Name & " is hidden." End If Next Rick Am trying to step through sheets, and if one is hidden, so indicate.... This line don't seem to work If ActiveSheet.Visible = False Then "DoThis" Else "DoThat" Endif Any suggestions please? Vaya con Dios, Chuck, CABGx3 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need my Hidden Rows to stay hidden when I print the sheet. | Excel Discussion (Misc queries) | |||
How to test to see if a given sheet from is in a workbook from ano | Excel Programming | |||
test if a sheet exist (with the name) ? | Excel Programming | |||
Saving hidden data with a worksheet (preferably without using a hidden sheet) | Excel Programming | |||
Problem pasting a row from a hidden sheet to the first free row on another visible sheet | Excel Programming |