Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default AdvancedFilter using 2 workbooks


Hi,

I am using 2 workbooks and I would like to use the data from one sheet
to fill in a validation cell in another workbook.

In the workbook "Data" I set a range named "NoPO" wich contain the data
I want to filter. In the workbook "User" I would like to copy the
filter result in the range named "ExtractionNoPO"

My VBA code is:
[NoPO].AdvancedFilter Action:=xlFilterCopy,
CopyToRange:=[ExtractionNoPO], Unique:=True

Should I add something to the code to make sure I will work. I get an
error 424.

Thanks a lot

Frank


--
yoshi88
------------------------------------------------------------------------
yoshi88's Profile: http://www.excelforum.com/member.php...o&userid=36711
View this thread: http://www.excelforum.com/showthread...hreadid=564449

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
AdvancedFilter dannibrook Excel Programming 4 April 25th 06 11:19 AM
Advancedfilter ram Excel Programming 1 December 30th 05 02:18 AM
AdvancedFilter with VBA newToExcel Excel Programming 2 September 30th 05 05:20 PM
AdvancedFilter in VB loopy[_6_] Excel Programming 1 June 22nd 05 03:24 PM
AdvancedFilter question Debra Dalgleish[_2_] Excel Programming 0 September 1st 03 12:14 AM


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

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

About Us

"It's about Microsoft Excel"