LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default need help w/ macro prompting with info and pasting the info based on user input

I need help with a macro. I am showing the sample sheets below. The
Macro needs to go to SHEET 2 and copy the amounts and paste into SHEET
1. Now into more detail. The info in SHEET 2 might contain some hidden
rows which should be omitted. It should go through all the visible rows
(besides the first one) and display an input box for each row. The
input box should display the "amount" and "Description" column info for
the row (needs to be done one by one for each visible row). The input
box would be prompting me for input. The input decides into which ROW
in SHEET 1 the AMOUNT info (not the description) is pasted. The macro
should paste automatically into the column in SHEET 1 based on the
"Dacct" info from SHEET 2. The user only picks the row and the macro
picks the column based on matching the "Dacct" numbers in both sheets.

Let's make an example based on the first row (after header) . I need
the macro to paste 500.5 from SHEET 2 into "Jan" row and "15000" column
in SHEET 1.
An input box would pop up showing me : "Amount: 500.5 Description:
good" . It would be prompting me: "Please choose date: " The
input would decide into which row in SHEET 1 the 500.5 is pasted. The
macro would then decide based on the "Dacct" value in that row in SHEET
2 which column in SHEET 1 to pick.
The input answer for the prompt would be 1-12 for the rows "Jan-Dec".
"P" would be the input for the "Previous Year" row.

I do not even know where to begin... Really hope somebody can help me
on this one. I am not a programmer so anything can help.



SHEET 1:


Previous Year

DAcct 15000 16000 17000

Jan 500.5
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec


SHEET 2:

Prod# Asset# Amount Dacct Type Description
F1550 B55 500.5 15000 Lunch good
F1560 B55 600.3 15000 Lunch bad
F1570 B55 800 15000 Lunch not so bad
F1580 B55 98 15000 Lunch pretty good
F1660 B55 789 16000 Auto pretty good
F1670 B55 4564 16000 Auto cool
F1690 B55 785 17000 Loca nasty
F1700 B55 7227 17000 Loca terrific

 
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
Replacing Input Box in Macro with Info Picked Up from Active Cell? Wart Excel Discussion (Misc queries) 3 August 14th 08 08:45 PM
Macro to put info into certain columns based on info in another co Studebaker Excel Discussion (Misc queries) 1 December 4th 07 05:27 PM
varying validation info based on preceding info georgejl Excel Discussion (Misc queries) 1 November 9th 06 10:31 PM
pasting a range of info based on the value in a particular cell vsmith Excel Discussion (Misc queries) 0 February 10th 06 10:57 PM
transfering info from one sheet to another based on info being transferred CClarke Excel Programming 0 January 14th 04 08:04 PM


All times are GMT +1. The time now is 09:03 AM.

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"