Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 504
Default Refresh ListObject Linked it SharePoint List

File Format: Excel 2003 (.xls)
Excel Versions: Excel 2003 & 2007

I have begun to experience a problem when using VBA to refresh a ListObject
in Excel that is linked to a SharePoint list. The ListObject appears to
refresh fine, but when I reference the ListObject cell value a zero value is
returned. This only happens in Excel 2003. The workbook and ListObject were
both created in Excel 2003. The code worked without problem until recently.
Oddly, this problem does not occur when using the file in Compatibility Mode
in Excel 2007. Here is a code snippet to illustrate:

Sheets("SPData").ListObjects("SPDataList").Refresh

For i = 3 To 10 Step 1
Rem The cell referenced below in sheet SPData is part of SPDataList
ListObject
Sheets("OtherSheet").Cells(i, 5).Value = Sheets("SPData").Cells(i, 3).Value
Next i

As I said this code worked without a problem for over a year. All of a
sudden the cells within the ListObject return 0 even though they display as
updated. Very strange!

Any ideas of things I should be checking?

Thanks,

Kevin
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked Spreadsheets and Sharepoint Sites Art F Excel Discussion (Misc queries) 0 May 27th 09 07:05 PM
Sharepoint Linked File Causing #Value Error PatK Excel Worksheet Functions 3 November 12th 08 03:35 AM
Auto Refresh evey ?? in a linked list Graham Excel Discussion (Misc queries) 0 July 27th 06 12:06 PM
Sharepoint Services -- Need Refresh Option mvyvoda Excel Discussion (Misc queries) 0 May 26th 06 04:31 PM
Excel linked worksheets in Windows sharepoint services Guibert Joris Links and Linking in Excel 1 September 19th 05 01:17 PM


All times are GMT +1. The time now is 06:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"