Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Dale Matthews   on Feb 17 In MS Office Category.

  
Question Answered By: Stefan Thompson   on Feb 17

Try breaking it down into steps

Instead of

.CommandText = Replace(PTCache.CommandText, OldString,
NewString)

Use:

Newcommand= .CommandText
Replace(Newcommand, OldString, NewString)
.CommandText= Newcommand

Then you will find  out which part is throwing the error.

I would also put MsgBox(NewCommand) in between each of these lines

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on re-directing pivotcache based on user input Or get search suggestion and latest updates.


Tagged: