Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming,microsoft.public.sqlserver.programming
|
|||
|
|||
![]()
I am facing a quite strange problem. I have written a VBA code which
is called using Command Button. It opens the SQL database and retrieves some numbers which are entered into excel cells. Surprisingly, the code works if the VBA window is open. If it is closed, the code returns empty cells. All the Subs and Functions are public. The code is very simple with a straight forward SQL sentence. Does anybody have any ideas where might be the problem? Many thanks. Justina |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Differente .xls files generated when VBE window closed vs open | Excel Programming | |||
how to get alert message when window is closed in excel for blank | Excel Discussion (Misc queries) | |||
Excel window closed but process still running | Excel Programming | |||
How do I undo the Excel, Window Menu, New Window command | Excel Discussion (Misc queries) | |||
Macro that waits, then resumes after window is closed | Excel Programming |