Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default I need a simple macro but im a noob.

I need what I think would be a simple macro to an advanced user. It needs to
start when the book is opened and update all external links (paste specials)
every 20 secconds. I have no idea what commands are needed to do this and
have no idea where to look for information to make it myself. Im using excel
2003. Please help.

Thank you,
Flyboy

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default I need a simple macro but im a noob.

See Chip Pearson's page on Application.OnTime

http://www.cpearson.com/excel/ontime.htm

from help on UpdateLink:

This example updates all links in the active workbook.

ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

I don't see what role pastespecial has to play. Perhaps you could use the
macro recorder to figure out that code.

--
Regards,
Tom Ogilvy


"flyboy0204" wrote in message
...
I need what I think would be a simple macro to an advanced user. It needs

to
start when the book is opened and update all external links (paste

specials)
every 20 secconds. I have no idea what commands are needed to do this and
have no idea where to look for information to make it myself. Im using

excel
2003. Please help.

Thank you,
Flyboy



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default I need a simple macro but im a noob.

I just included the little paste special line so you would know how I created
my external links. I was not sure if the way I made the external links made
a difference.

Thank you for the help Tom.

"Tom Ogilvy" wrote:

See Chip Pearson's page on Application.OnTime

http://www.cpearson.com/excel/ontime.htm

from help on UpdateLink:

This example updates all links in the active workbook.

ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

I don't see what role pastespecial has to play. Perhaps you could use the
macro recorder to figure out that code.

--
Regards,
Tom Ogilvy


"flyboy0204" wrote in message
...
I need what I think would be a simple macro to an advanced user. It needs

to
start when the book is opened and update all external links (paste

specials)
every 20 secconds. I have no idea what commands are needed to do this and
have no idea where to look for information to make it myself. Im using

excel
2003. Please help.

Thank you,
Flyboy




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default I need a simple macro but im a noob.

The problem with paste special occurs because you have used the Update.Links
method in the sheet.activate event.
Had same problem last week. I took Update.Link out of the macro and it
returned to normal.
scooper


"Tom Ogilvy" wrote in message
...
See Chip Pearson's page on Application.OnTime

http://www.cpearson.com/excel/ontime.htm

from help on UpdateLink:

This example updates all links in the active workbook.

ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

I don't see what role pastespecial has to play. Perhaps you could use the
macro recorder to figure out that code.

--
Regards,
Tom Ogilvy


"flyboy0204" wrote in message
...
I need what I think would be a simple macro to an advanced user. It
needs

to
start when the book is opened and update all external links (paste

specials)
every 20 secconds. I have no idea what commands are needed to do this
and
have no idea where to look for information to make it myself. Im using

excel
2003. Please help.

Thank you,
Flyboy





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
macro problem for a noob lol bouncebackability Excel Discussion (Misc queries) 2 January 10th 08 02:34 PM
Not-so-noob Don[_22_] Excel Programming 3 October 4th 05 07:32 AM
Noob question Micro_pal New Users to Excel 2 September 4th 05 02:37 PM
Noob help Patrick Excel Worksheet Functions 3 March 6th 05 07:23 PM
VBA noob help with an IF duster Excel Programming 2 June 27th 04 10:21 PM


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