LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.newusers
Sandy Mann
 
Posts: n/a
Default Can anyone offer a solution ?

"pc300d" wrote in
message ...

Sorry to be pain


You're not being a pain, it me that's being a pain - I changed the x
variable to a 1 to run a test and forgot to change it back again before
posting.

change:
Cells(x * Bcol - Bcol + y, 3).Value = _
Right("0000" & Cells(1, 1).Value, 4) _
& Cells(y, 2).Value

to:
Cells(x * Bcol - Bcol + y, 3).Value = _
Right("0000" & Cells(x, 1).Value, 4) _
& Cells(y, 2).Value

and it should work as you want.

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"pc300d" wrote in
message ...

Thank you for your time Sandy, we're very nearly there !

The macro is hard for me to understand, as I said before I'm fairly new
to all this, so I don't know which "bit" needs tweaking.

Once the macro is run the resulting column (column C) is "parsed" with
the 19 cells in column B which is perfect, but the prefix is always
cell A1.

ie. as in my previous posts, column C has 0001 as the 1st 4 digits in
every cell (all 9000 of 'em) so the macro isn't stepping down column
A.

Sorry to be pain but if this works it will save me an enormous amount
of time in the future.

Many thanks


--
pc300d
------------------------------------------------------------------------
pc300d's Profile:
http://www.excelforum.com/member.php...o&userid=33474
View this thread: http://www.excelforum.com/showthread...hreadid=532785



 
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
Index/Match Solution? WeatherGuy Excel Discussion (Misc queries) 3 January 31st 06 10:13 AM
i forget my Microsoft Excel files password tell me the solution danish Excel Worksheet Functions 1 November 28th 05 02:13 PM
??SUMPRODUCT? other solution? Jane Excel Worksheet Functions 6 November 20th 05 03:01 PM
Show trial solution lui78 Excel Worksheet Functions 1 November 16th 05 10:35 AM
Generating excel combinations mark4006 Excel Discussion (Misc queries) 2 March 6th 05 04:40 PM


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