LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default updating spreadsheet

Hi TipTop,

In the absence of more concrete detail, perhaps the following routine will
enable you to progress your project. In its present incarnation, the routine
is run once the requisite cells in the Online Exceptions worksheet have
been selected manually. Depending on the intracasies of your operation,
you may well be able to automate this step.Presumably the first row in the
Exceptions worksheet will constitute a header row. The routine will copy
your data to the first blank cell(s) in column A below your header.

Sub Test()
Dim WS As Worksheet
Dim sourceRng As Range, destRng As Range

Set sourceRng = Selection
Set WS = Workbooks("Processed Exceptions.xls").Sheets("Sheet1")
Set destRng = WS.Cells(Rows.Count, "A").End(xlUp)(2)

sourceRng.Copy destRng

End Sub


---
Regards,
Norman.


"tiptop " wrote in message
...
I'm a little bit lost. The 2nd case is most likely what I will need to
use. But, I can't figure out how to put it in my code. Below is kind
of where I am at...

Sub ProcessedExceptions()
ChDir "C:\Documents and Settings\Administrator\Desktop"
Workbooks.Open Filename:= _
"C:\Documents and Settings\Administrator\Desktop\Processed
Exceptions.xls"
ActiveWindow.WindowState = xlMinimized
Workbooks("Online Exceptions.xls").Activate
End Sub

Basically, for example. The info that is in (Online Exceptions.xls,
cell S13) needs to be entered in file (Processed Exceptions.xls, Cell
A1, A2....). I'm trying to make life a little easier and tree friendly
at work...I process these exceptions roughly 700-900 exceptions a day
(each on an individual sheet of paper) so this will make my life a LOT
easier if I can figure out the correct code. Thanks again for all the
help!!


---
Message posted from http://www.ExcelForum.com/



 
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
Updating a spreadsheet automatically Duncs Excel Discussion (Misc queries) 1 November 29th 06 07:32 PM
help with updating spreadsheet JAZZNAURA New Users to Excel 2 August 2nd 06 05:39 PM
help with updating spreadsheet JAZZNAURA Excel Discussion (Misc queries) 0 August 1st 06 09:30 PM
Updating 1 spreadsheet from another Sal Excel Worksheet Functions 4 December 17th 04 11:03 PM
Updating from another spreadsheet Merry Excel Programming 0 November 18th 03 10:26 PM


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