Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Finding and Selecting Specific Ranges

This is my first post, so please bare with me if I am not as detailed
as required.

Here is a quick layout of my sheet.

Date Account Amount Description
5/1/2005 12345 10 Expense
11111 20 Expense
5/2/2005 136589 200 Cash
135965 1560 Cash

I am trying to write code that will search the date column and then
select all the data from 5/1/2005 and then use it somewhere else and
then go back and select the 5/2/2005 data and so on.

Thanks for all the help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Finding and Selecting Specific Ranges

Bit more specific. Use it somewhere else means what exactly?

--
HTH

Bob Phillips

wrote in message
ups.com...
This is my first post, so please bare with me if I am not as detailed
as required.

Here is a quick layout of my sheet.

Date Account Amount Description
5/1/2005 12345 10 Expense
11111 20 Expense
5/2/2005 136589 200 Cash
135965 1560 Cash

I am trying to write code that will search the date column and then
select all the data from 5/1/2005 and then use it somewhere else and
then go back and select the 5/2/2005 data and so on.

Thanks for all the help.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Finding and Selecting Specific Ranges

What I want to do is take the range and then copy it to another sheet
and then re-format it for an auto upload into a database. So once the
range has been defined, I am going to copy the range to the other sheet
and then format it to desired settings.

Hope this is more specific.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Finding and Selecting Specific Ranges

Can I suggest that you start by recording a macro.

Go through the steps of using DataFilterAutofilter, pick the required
date, copy the visible rows and paste them, and do your formatting, all
whilst recording.

You should have a good start code to work with then.

--
HTH

Bob Phillips

wrote in message
oups.com...
What I want to do is take the range and then copy it to another sheet
and then re-format it for an auto upload into a database. So once the
range has been defined, I am going to copy the range to the other sheet
and then format it to desired settings.

Hope this is more specific.



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
Finding specific text in ranges timmulla Excel Discussion (Misc queries) 3 January 24th 07 06:01 PM
selecting multiple ranges Helen Excel Programming 3 January 16th 05 03:46 AM
Selecting ranges Steve Wood Excel Programming 1 August 24th 04 02:16 PM
V.B selecting ranges for naming ice_cool[_2_] Excel Programming 2 March 5th 04 02:21 PM
selecting ranges MDC Excel Programming 1 July 24th 03 03:34 PM


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