Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA on a Hidden Worksheet


I have recorded a macro the when run from one worksheet will perform an
advanced filter on another worksheet... allowing me to use a filterd
drop down box for a user to select from on the first sheet...It worked
great until I Hide the sheet that has the list... (I need it hidden)..
How do I get arround this...

Thank you Randy


--
RANDY IN NC
------------------------------------------------------------------------
RANDY IN NC's Profile: http://www.excelforum.com/member.php...o&userid=29778
View this thread: http://www.excelforum.com/showthread...hreadid=494898

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 325
Default VBA on a Hidden Worksheet

Randy,

if you don't want your user to see the sheet as it is temporarily unhidden
by Krabople's code, prefix the whole thing with
application.screenupdating=false.
At the end of your sub, after it's been hidden again, use
application.screenupdating = true.

Happy Christmas!

Pete





"RANDY IN NC" wrote:


I have recorded a macro the when run from one worksheet will perform an
advanced filter on another worksheet... allowing me to use a filterd
drop down box for a user to select from on the first sheet...It worked
great until I Hide the sheet that has the list... (I need it hidden)..
How do I get arround this...

Thank you Randy


--
RANDY IN NC
------------------------------------------------------------------------
RANDY IN NC's Profile: http://www.excelforum.com/member.php...o&userid=29778
View this thread: http://www.excelforum.com/showthread...hreadid=494898


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VBA on a Hidden Worksheet

Make sure you don't select/activate any ranges.

Make sure your range references in your code are refering to that sheet.

Post your code if you have questions.

RANDY IN NC wrote:

I have recorded a macro the when run from one worksheet will perform an
advanced filter on another worksheet... allowing me to use a filterd
drop down box for a user to select from on the first sheet...It worked
great until I Hide the sheet that has the list... (I need it hidden)..
How do I get arround this...

Thank you Randy

--
RANDY IN NC
------------------------------------------------------------------------
RANDY IN NC's Profile: http://www.excelforum.com/member.php...o&userid=29778
View this thread: http://www.excelforum.com/showthread...hreadid=494898


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default VBA on a Hidden Worksheet

RANDY IN NC wrote:
I have recorded a macro the when run from one worksheet will perform an
advanced filter on another worksheet... allowing me to use a filterd
drop down box for a user to select from on the first sheet...It worked
great until I Hide the sheet that has the list... (I need it hidden)..
How do I get arround this...

Thank you Randy





usualy macro recorder generates

range ("ble ble ble").select
selection.xxxxx

change it to

range("ble ble ble).xxxxxx


You can't select anything on hidden sheet.




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
2007 Worksheet, Hidden Columns, .CSV Format Saves Hidden Column Da Tammy Excel Discussion (Misc queries) 3 April 2nd 09 11:40 PM
Hidden Columns No Longer Hidden after Copying Worksheet? EV Nelson Excel Discussion (Misc queries) 1 December 6th 06 05:10 PM
How do I detect hidden worksheets or hidden data on a worksheet? Alice Excel Discussion (Misc queries) 4 August 24th 06 03:38 AM
Where's the hidden worksheet? slamm Charts and Charting in Excel 3 July 25th 05 02:31 AM
Saving hidden data with a worksheet (preferably without using a hidden sheet) Dick Kusleika[_3_] Excel Programming 2 January 21st 04 04:39 PM


All times are GMT +1. The time now is 02:06 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"