Roseanne Barr to guest star on "The Office"

Roseanne Barr is stopping by "The Office."

NBC said Barr will guest star as a talent agent named Carla Fern in scenes set to tape Wednesday. The agent agrees to help office manager Andy Barnard realize his show business dream.

Series regular Ed Helms plays Andy.

Barr, 60, is taking a break from her stand-up comedy act in Las Vegas for "The Office" cameo. The sitcom is in its final season, and producer Greg Daniels has promised a memorable end after nine years.

"The Office," adapted from the British series of the same name, ranks among NBC's most popular shows. Barr knows something about bringing a long-running hit to an end: Her sitcom "Roseanne" aired from 1988 to 1997.