Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Strange Module line
I have a module with the following snippet of declarations:
Public ObjectAction%, XlHwnd&, LinesSpan& Public DB As Access.Application, UForm As UpdateDb, mdl As Access.Module '***** Public ws As Worksheet Public DbPath$, CurrentCounty$ The whenever I try to do anything with the line that has the asterisks at the end, the application locks up. I cannot add a new variable to that line, delete any existing one, nor rename any existing one. This happens with only this line. Any ideas? Thank you |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Strange Module line
Have you set a reference to Access?
- Jon ------- Jon Peltier, Microsoft Excel MVP http://www.geocities.com/jonpeltier/Excel/index.html _______ JonWayn wrote: I have a module with the following snippet of declarations: Public ObjectAction%, XlHwnd&, LinesSpan& Public DB As Access.Application, UForm As UpdateDb, mdl As Access.Module '***** Public ws As Worksheet Public DbPath$, CurrentCounty$ The whenever I try to do anything with the line that has the asterisks at the end, the application locks up. I cannot add a new variable to that line, delete any existing one, nor rename any existing one. This happens with only this line. Any ideas? Thank you |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Strange Module line
In short, nope. Try Rob Bovey's code cleaner. www.appspro.com I think.
Robin Hammond. "JonWayn" wrote in message ... I have a module with the following snippet of declarations: Public ObjectAction%, XlHwnd&, LinesSpan& Public DB As Access.Application, UForm As UpdateDb, mdl As Access.Module '***** Public ws As Worksheet Public DbPath$, CurrentCounty$ The whenever I try to do anything with the line that has the asterisks at the end, the application locks up. I cannot add a new variable to that line, delete any existing one, nor rename any existing one. This happens with only this line. Any ideas? Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Strange line I can't delete | Excel Discussion (Misc queries) | |||
Strange New Line text when importing from Access 97 | Links and Linking in Excel | |||
Strange Line across Worksheet | Excel Discussion (Misc queries) | |||
code in module A to not execute a Worksheet_SelectionChange sub of another module | Excel Discussion (Misc queries) | |||
strange horizontal line showing accross several columns | Excel Discussion (Misc queries) |