Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Recording data from refreshing, imported sheets


::

Hi there,


Looking for HELP on VB code for the following:


I need to record data from dynamic , refreshing imported sheets t
other sheets as record on various time intervals.


Say,

i) ‘r1’ is an imported sheet refreshing every 60 minutes ;
set by ---- Data Import External Data Data Rang
Properties Refresh every 60 minutes

ii) ‘Sr1’ is a recording sheet in match with sheet ‘r1’;

iii) Need to transfer/record cells M4:M17 and N4:N17 to cells J4:J1
and J20:J33 respectively.

iv) For every consecutive 180 minutes, records will be copied t
consecutive cells on sheet ‘Sr1’ such as


............................................data in cells M4:M17 an
N4:N17 of sheet ‘r1’
......60 minutes after :.......copied to cells K4:K17 and K20:K33
respectively on sheet ‘Sr1’;
2 x 60 minutes after :.......copied to cells L4:L17 and L20:L33
respectively on sheet ‘Sr1’;
3 x 60 minutes after :.......copied to cells M4:M17 and M20:M33
respectively on sheet ‘Sr1’;

and so on for 24 hours (i.e. 24 records)


Would appreciate help with appropriate VB code to do the job.


v) at cell Q4 of sheet‘r1’, I have a [ =NOW() ]
can I also have the exact time of every recording be placed a
J3 ( K3, L3, M3, N3, ….) of sheet ‘ Sr1’ ?

vi) I have about 8 ~ 10 imported sheets set to refresh at almost th
same time.
Obviously there will be some hindrances if all of them refresh
record simultaneously.

Will there be any VB code telling them to DO one after th
completion of the other ?



Thanks in advance for any assistance.

EduardoD.
2004-10-10
:

--
EduardoDo
-----------------------------------------------------------------------
EduardoDon's Profile: http://www.excelforum.com/member.php...nfo&userid=849
View this thread: http://www.excelforum.com/showthread.php?threadid=26798

  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Recording data from refreshing, imported sheets

hi,
look up OnTime Method time in vb help.
see the following sites.
http://www.enhanceddatasystems.com/E...ExcelTimer.htm
http://www.mvps.org/dmcritchie/excel/datetime.htm
http://www.cpearson.com/excel/events.htm
http://www.rondebruin.nl/copy5.htm

-----Original Message-----

::

Hi there,


Looking for HELP on VB code for the following:


I need to record data from dynamic , refreshing imported

sheets to
other sheets as record on various time intervals.


Say,

i) 'r1' is an imported sheet refreshing every 60

minutes ;
set by ---- Data Import External Data Data Range
Properties Refresh every 60 minutes

ii) 'Sr1' is a recording sheet in match with

sheet 'r1';

iii) Need to transfer/record cells M4:M17 and N4:N17

to cells J4:J17
and J20:J33 respectively.

iv) For every consecutive 180 minutes, records will be

copied to
consecutive cells on sheet 'Sr1' such as


............................................dat a in

cells M4:M17 and
N4:N17 of sheet 'r1'
......60 minutes after :.......copied to cells K4:K17

and K20:K33
respectively on sheet 'Sr1';
2 x 60 minutes after :.......copied to cells L4:L17

and L20:L33
respectively on sheet 'Sr1';
3 x 60 minutes after :.......copied to cells M4:M17

and M20:M33
respectively on sheet 'Sr1';

and so on for 24 hours (i.e. 24 records)


Would appreciate help with appropriate VB code to do the

job.


v) at cell Q4 of sheet'r1', I have a [ =NOW() ]
can I also have the exact time of every recording be

placed at
J3 ( K3, L3, M3, N3, ..) of sheet ' Sr1' ?

vi) I have about 8 ~ 10 imported sheets set to refresh

at almost the
same time.
Obviously there will be some hindrances if all of them

refresh /
record simultaneously.

Will there be any VB code telling them to DO one after

the
completion of the other ?



Thanks in advance for any assistance.

EduardoD.
2004-10-10
::


--
EduardoDon
---------------------------------------------------------

---------------
EduardoDon's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=8492
View this thread:

http://www.excelforum.com/showthread...hreadid=267988

.

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
Forumal writing for imported sheets Curt J Excel Discussion (Misc queries) 0 March 31st 10 04:59 PM
Refreshing ODBC data on Protected Sheets AndrewC Excel Discussion (Misc queries) 0 November 10th 09 05:33 AM
MACRO recording to be for all new sheets Christine[_3_] Excel Worksheet Functions 4 October 24th 08 12:37 AM
MACRO recording to be for all new sheets Susan Excel Worksheet Functions 0 October 23rd 08 01:29 PM
Prevent certain tabs/sheets from refreshing [email protected] Excel Discussion (Misc queries) 1 February 8th 07 02:11 PM


All times are GMT +1. The time now is 04:39 PM.

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

About Us

"It's about Microsoft Excel"