Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 30th, 2003, 10:38 AM
loukat25 loukat25 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: England
Posts: 3 loukat25 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Selecting specific cells

Hi,
I wonder if anyone can help me, I have writen a macro in excel for a report, but I am having trouble figuring out how to select cells with specific data in them, cut them and paste them into another sheet, I get the cutting and pasting part, but the cells are not constant they change everytime the report is run off (twice a month).
Could anyone give me a n idea of where to look for the answer, I have tried various other places and short of spending hundreds of pounds on x number of books, I am stuck.

If any one can help I can explain further.

Thanks in advance
kat

Reply With Quote
  #2  
Old October 1st, 2003, 09:24 AM
Fisherman's Avatar
Fisherman Fisherman is offline
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,194 Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 13 h 57 m 32 sec
Reputation Power: 142
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
How are you putting the values into the cells? are you looping through some calculation and plotting them in, or has the excel sheet been created outside of your code?
__________________
Fisherman

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein

Reply With Quote
  #3  
Old October 2nd, 2003, 07:24 AM
loukat25 loukat25 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: England
Posts: 3 loukat25 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
What I am doing is running off a report, which comes out in a jumbled mess, tidying it up, it comes off in 1 main sheet, it is for a number of people (each one has there own 3 letter code) and I then have to separate out the specific persons into their own sheet still in the excel sheet.

an example of the row of information that has to be transfered is as follows

A7 B7 C7 D7 E7 F7 G7

Post Co Area Sub Town Con Site Pnl

ALD 0202 01 Bury CB CA 0288 01


H7 I7 J7
Panel Address Size Stream

392/396 WALMERSLEY RD 48 NA48PRES1B

K7 L7
Campaign Change Of Design Name

0000014116 - EASYJET AIRLINES EASYJET

M7
Post Over

0000013846 - BT 118 500

I gues the best idea is to filter them out, but as I said they are constantly changing the amount of records every two weeks.

Thanks for you help

Kat

Reply With Quote
  #4  
Old October 3rd, 2003, 05:04 PM
Fisherman's Avatar
Fisherman Fisherman is offline
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,194 Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 13 h 57 m 32 sec
Reputation Power: 142
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
that certainly is an awful mess.. let me ponder this one for a while.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Selecting specific cells


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT