Hi
I have a problem copying the result of a filter on excel to another sheet
This is thefunction i use to filter oSheet:
oSheet.Range("A 1", "AP" & LastRowAll).Aut oFilter(2, ">01/03/2007")
So it does the job, now what I want to do is to copy this information on "sheet2", ie i don't want to see the hidden row.
I managed to copy everything but the hidden row show up.
Pretty much what i want to do is to extract any information whenever a certain date in column 2 is greater than a certain date, I would have thought that filter was the best way, but i cant seem to copy the information somewhere else... .
Thanks !
3 4676 SammyB 807
Recognized Expert Contributor
Hi
I have a problem copying the result of a filter on excel to another sheet
This is thefunction i use to filter oSheet:
oSheet.Range("A 1", "AP" & LastRowAll).Aut oFilter(2, ">01/03/2007")
So it does the job, now what I want to do is to copy this information on "sheet2", ie i don't want to see the hidden row.
I managed to copy everything but the hidden row show up.
Pretty much what i want to do is to extract any information whenever a certain date in column 2 is greater than a certain date, I would have thought that filter was the best way, but i cant seem to copy the information somewhere else... .
Thanks !
How can we get the same question twice in one day? See http://www.thescripts.com/forum/thread634196.html. In your case, it would be
oSheet.Range("A 1", "AP" & LastRowAll).Spe cialCells(xlCel lTypeVisible).C opy
This corresponds to the Excel menu item Edit, GoTo, Special, Visible cells only just in case you every want to do it manually. HTH --Sam
Thanks !
I looked so long so an answer to this question ! I was stuck !
Thanks very much Sammy !
SammyB 807
Recognized Expert Contributor
Thanks !
I looked so long so an answer to this question ! I was stuck !
Thanks very much Sammy !
Yea, it's one of those things that is not obvious. :D
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Kal |
last post by:
I have a particular problem:
I am working at a client site where they have the following oracle
system:
Oracle7 Server Release 7.3.3.0.0 - Production Release
PL/SQL Release 2.3.3.0.0 - Production
I am trying to select Person_id's filtering by where a date is not
null see below:
|
by: Aionius |
last post by:
Good day to all.
I have this problem in JavaScript. I have a form (textbox) which
accepts a series of numbers in format 9999-9999-9. Now i want to
filter all inputs to the textbox. let's say 1234-1234-1 is a valid
input, 12345-123-2 is an invalid input. I had a sample in filtering
email address. I used a filter on that one.
Hope anyone in the group can help me in my problem.
|
by: Bob |
last post by:
I have been asked to modify an existing Access database so that it can
update a MySQL databse in head office from multiple MS Access databases in
branches. The idea is that when the HO database is available then any
changes made in branch will automatically update HO but when HO database is
not available then changes are 'batched' until it is available and then
update. (There is a Virtula Private Network involved in this). The update
is...
|
by: samotek |
last post by:
Filter the last date only
I am trying t0 filter only the last date of the query,but i cannot
manage that.
My query is the following :
SELECT Sum(.liters) AS SumOfLiters, orders.invoicedate
FROM orders LEFT JOIN ON orders.orderid = .OrderID
GROUP BY orders.invoicedate;
|
by: David Rysdam |
last post by:
I have a large amount of data that I copy in and out of Sybase very
often. Now I also want to copy this data in and out of postgres. I
have an existing script that creates the entire database(s) from scratch
in Sybase and then uses the Sybase bulk copy tool "bcp" to copy the data
in.
I already did a brute force port of this script to postgres once, but
I'm trying to do it more elegantly now that I know what issues I'm going
to run...
| |
by: aviklund |
last post by:
Hi,
I made a simple data access page with a search button that does work
properly, but now I would like to add a filtering to the command button
also.
Ideal solution would be like this:
When you press the command button it prompts you a search word (text
string) and then it filters the record set and shows all the records
|
by: |
last post by:
Hi everyone.
I'm trying to work with very simple data structures but I'm stuck in the very first steps. If someone has the luxury of a few minutes and can give an advice how to resolve this, I'll really appreciate it.
1- I have a list of tuples like this:
lista=
and I want to end with a dict like this:
{141: {1: , 2: , 3: }, 142: {1: , 2: , 4: }}
the logic of the final output:
a) the outer dict's key is a set() of the 2rd value of...
|
by: ilikebirds |
last post by:
My table looks like the following
, ,,
Ex.
, , ,
, ,
It contains all the and that goes through in the past 3 months.
How would I go about querying for all 's that took more than 1 day to move from Step 1 to Step 2?... so on and so forth.
|
by: billiejoefanclub |
last post by:
I have 3 pages, 2 of which are in a frame.
In page 1, I have a button which after the user clicks opens the frame in which page 2 should be filtered based on a selection in page 1. I am passing the value through the serverfilter like so: <SCRIPT language=vbscript event=onclick for=btnEditDPOW>
<!--
dim Loc
dim Ser
Loc = "BPFRAME_DPOW.htm?serverfilter="
'NEED TO SERVER FILTER SUBPAGE IN FRAME????!!!!!
Ser = chr(34) & "Third_Tier_ID=" &...
|
by: Rebecca McCallan |
last post by:
*above I meant to say 'search form, from'
I am wondering if it is possible to open a search form from another form (onclick of any record in a text box), pre-filtering the data in the search to relate to the originally clicked record... ie.
At the moment I am implementing a code library, the two main forms are frm001_CodeSearch which enables the user to filter what code they can see. The second is frm002_Categories which consists of categories...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |