Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have the following code to refresh a query and it works fine until I install the file on another PC. Private Sub CommandButton1_Click() Sheets("Invoice Due").Activate Range("A7").QueryTable.Refresh BackgroundQuery:=False MsgBox "Refresh complete" End Sub It shows it failing on line Range("A7").QueryTable.Refresh BackgroundQuery:=False Can any one help? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to query data | Excel Programming | |||
VB macro code for SQL Query | Excel Programming | |||
VB Code for MS Query | Excel Programming | |||
Code Query | Excel Programming | |||
query source code | Excel Programming |