Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BAZZA
 
Posts: n/a
Default macro or function

i have a spreadsheet and i want to move from coulmn g to columns m t x aa ac
if a product is in column g e,g if cell g8 equals paper then go to coulmn t8
or if cell g8 equals book then go to cell x8.
would i need to make a macro or is there a function that excel has that i
could use
thank you.
  #2   Report Post  
Don Guillett
 
Posts: n/a
Default

This assumes that you have a header on row 1 such as book, paper, etc and
are using col A.
right click sheet tabview codeinsert thismodify for column and source
sheetSAVE

Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Target.Column < 1 Then Exit Sub
Cells(Target.Row, Rows(1).Find(Target).Column).Select
End Sub



--
Don Guillett
SalesAid Software

"BAZZA" wrote in message
...
i have a spreadsheet and i want to move from coulmn g to columns m t x aa

ac
if a product is in column g e,g if cell g8 equals paper then go to coulmn

t8
or if cell g8 equals book then go to cell x8.
would i need to make a macro or is there a function that excel has that i
could use
thank you.



  #3   Report Post  
Gary''s Student
 
Posts: n/a
Default

a macro
--
Gary''s Student


"BAZZA" wrote:

i have a spreadsheet and i want to move from coulmn g to columns m t x aa ac
if a product is in column g e,g if cell g8 equals paper then go to coulmn t8
or if cell g8 equals book then go to cell x8.
would i need to make a macro or is there a function that excel has that i
could use
thank you.

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
Sorting - Macro or worksheet function Danny Excel Worksheet Functions 1 August 2nd 05 09:17 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Starting a macro with the IF function THW Excel Worksheet Functions 4 June 19th 05 05:40 PM
Function Macro for Nested IF Qaspec Excel Worksheet Functions 5 March 10th 05 07:25 PM
How Do I (Macro Function)? Swivel Excel Worksheet Functions 1 November 3rd 04 12:21 AM


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