Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VLOOKUP macro/VBA Code

I'm fairly new to this, so please bear with me...

I have a production planning spreadsheet that is updated every week from a
database to a new sheet. This sheet is 'Sheet1', last weeks update becomes
'Sheet2'.

Every day people annotate and colour cells for various orders, depending on
their place within the planning scheme.

It's really only the formats that I need to copy across, I could use the
VLOOKUP function for the values - So I suppose you could say I'm looking for
a VLOOKUP macro which keeps the original formatting (cell colour etc.)
Any help much appreciated...

--
Getting There...slowly
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default VLOOKUP macro/VBA Code

you'er correct, VLOOKUP and similar funcs only return values.
you'd need code to copy/pastespecial formats. If you're in learning mode,
switcj on the macro recorder when you do this to start to get familiar with
the code.




"Dwingfield" wrote:

I'm fairly new to this, so please bear with me...

I have a production planning spreadsheet that is updated every week from a
database to a new sheet. This sheet is 'Sheet1', last weeks update becomes
'Sheet2'.

Every day people annotate and colour cells for various orders, depending on
their place within the planning scheme.

It's really only the formats that I need to copy across, I could use the
VLOOKUP function for the values - So I suppose you could say I'm looking for
a VLOOKUP macro which keeps the original formatting (cell colour etc.)
Any help much appreciated...

--
Getting There...slowly

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
Slow code when used as VBA code instead of macro (copying visible columns) [email protected] Excel Programming 3 April 2nd 07 05:26 PM
Can I use code/macro to change code/macro in an existing file? Scott Bedows Excel Programming 2 February 14th 07 05:50 AM
VLookup in Code Bernie Deitrick Excel Programming 1 December 2nd 06 12:09 AM
do anybody have a sample code for executing excel macro from vb code?<eom B Deepak Excel Programming 2 September 30th 05 09:59 AM
what is the VBA code for VLOOKUP? Shan Excel Programming 2 March 3rd 05 02:53 PM


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