Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default A pointer or two needed using userform

first let me say I almost never use excel,now I have a worksheet with
7500 lines and about 12 cols that I have to go through and edit parts
of. I have to change 6 cols in a selected range by dividing by a
number,add some data to another couple of cols,and some text to
another couple.I made a macro with Inputboxes in which I select the
range,the math factor, enter the new data and text.I have 6
inputboxes,it seemed I could use a form and textboxes,do all input at
once,but I can't seen to get it to work.the form shows but the input
is not being processed. the same cols always get the same processing,
col D to J is divided by whatever is needed for the selected range,col
K is always a new number added,col A and C is alway new text,not the
same text.Current Macro is select range D? : J?,enter math number,
select K range K?,enter K number,etc.
row range is the same across all required cols.I might select 1 row
or 200 rows at a time.
can anybody show me how to make a form to do this in one step
rather than six or seven,
thanks
J
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default A pointer or two needed using userform

Jim,

<<I have to change 6 cols in a selected range by dividing by a number

Simply put the divisor in a different cell, and then go copy | paste special
| operation divide

<<add some data to another couple of cols

Similar to above, except operation add

<<and some text to another couple

Use the concatentation feature or use "&". Create a new column if required
to put your results in. For example, if you want to combine Col A with " I
am here", then put " I am here" in Z1,
and then put in Col B =a1&z1. Once you have completed Col B, you can copy
and paste the values into Col A if that is your desire.

Unless you have a strong urge to use VBA, you might be able to do a quick
couple of copy and pastes, and then you're done.

Best regards,
Kevin




"Jim" wrote in message
om...
first let me say I almost never use excel,now I have a worksheet with
7500 lines and about 12 cols that I have to go through and edit parts
of. I have to change 6 cols in a selected range by dividing by a
number,add some data to another couple of cols,and some text to
another couple.I made a macro with Inputboxes in which I select the
range,the math factor, enter the new data and text.I have 6
inputboxes,it seemed I could use a form and textboxes,do all input at
once,but I can't seen to get it to work.the form shows but the input
is not being processed. the same cols always get the same processing,
col D to J is divided by whatever is needed for the selected range,col
K is always a new number added,col A and C is alway new text,not the
same text.Current Macro is select range D? : J?,enter math number,
select K range K?,enter K number,etc.
row range is the same across all required cols.I might select 1 row
or 200 rows at a time.
can anybody show me how to make a form to do this in one step
rather than six or seven,
thanks
J



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
Pointer shapes Renee Excel Discussion (Misc queries) 0 September 24th 06 02:02 PM
Pointer please KiwiBrian New Users to Excel 3 December 23rd 04 04:49 PM
pointer Gino Calderone Excel Discussion (Misc queries) 1 December 21st 04 10:39 PM
Another pointer please KiwiBrian Excel Discussion (Misc queries) 1 November 30th 04 04:18 AM
Pointer please KiwiBrian Excel Discussion (Misc queries) 3 November 29th 04 10:09 PM


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